To uninstall ScubaGear, follow these steps:
- Run the
UninstallModules.ps1
script in theutils
folder to remove the modules that were installed.
# Uninstall modules
.\UninstallModules.ps1
- Uninstall ScubaGear itself.
# Uninstall ScubaGear
Uninstall-Module -Name ScubaGear
- Uninstall OPA by deleting the
.scubagear
folder in the user's home directory.
# Delete .scubagear folder
Remove-Item C:\Users\johndoe\.scubagear
- If ScubaGear was downloaded from GitHub, delete the ScubaGear folder that was extracted from the zip file.