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.
Remove the Windows data junction
Section titled “Remove the Windows data junction”Close Power BI Desktop, then run:
pwsh ./scripts/Set-LocalDataLink.ps1 -RemoveThis removes C:\ContosoPharmacyDemo\data when it is a junction. It does not delete data/generated/.
Report local outputs
Section titled “Report local outputs”Run:
pwsh ./scripts/lab/Test-LabProgress.ps1 -Lab 15pwsh ./scripts/lab/Test-LabProgress.ps1 -Lab 15The check reports local outputs such as out/, .tools/, apm_modules/, and evaluation/runs/local-*.json. It deletes nothing.
Optional installs
Section titled “Optional installs”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.APMon Windows orbrew uninstall apmon 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.
Local clone
Section titled “Local clone”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.
GitHub template copy
Section titled “GitHub template copy”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.
Browser progress
Section titled “Browser progress”Open /progress/ and choose Reset progress to clear local checkboxes in this browser.
Nothing to revoke
Section titled “Nothing to revoke”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.