Skip to content

Clean up

This is the short version of Lab 15: Clean up and next steps. Use the lab page when you want guided steps and verification.

Windows only Optional

Close Power BI Desktop, then run:

Terminal window
pwsh ./scripts/Set-LocalDataLink.ps1 -Remove

This removes C:\ContosoPharmacyDemo\data when it is a junction. It does not delete data/generated/.

Run:

Terminal window
pwsh ./scripts/lab/Test-LabProgress.ps1 -Lab 15

The check reports local outputs such as out/, .tools/, apm_modules/, and evaluation/runs/local-*.json. It deletes nothing.

Remove only tools you installed just for the lab and do not need elsewhere:

  • Copilot CLI, using the package manager you used to install it.
  • APM CLI, for example winget uninstall Microsoft.APM on Windows or brew uninstall apm on macOS if you used those installers.
  • VS Code extensions from View > Extensions.
  • .venv, if you no longer need local validation.
  • site/node_modules, if you no longer preview the lab site.

If you are done with the repo, delete the local clone folder after saving any branches or files you want. Do not delete it while Power BI Desktop has the PBIP open.

If you want to delete your GitHub copy, open the repo on GitHub and go to Settings > General > Danger Zone > Delete this repository. This is optional and permanent.

Open /progress/ and choose Reset progress to clear local checkboxes in this browser.

The lab creates no Fabric workspace, service principal, cloud credential, or Azure resource. If you added your own secrets while experimenting, remove them from Settings > Secrets and variables and the external system.