You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look into adding a confirmation requirement when uninstalling a PSResource. Uninstall-Module does not do it, and maybe we should not do it for Uninstall-PSResource when a single specific module is uninstalled. But since Uninstall-PSResource handles Name wild card characters, we may want to prompt for confirmation in that case.
Uninstall-PSResource MyModule #No confirmation promptUninstall-PSResource*#Prompt for confirmation before uninstalling all modules.Uninstall-PSResource*-Force #No confirmationUninstall-PSResource*-Confirm:$false??