PowerShell / PowerShell/PSResourceGet
Add ShouldProcess/ConfirmImpact to Uninstall-PSResource
Open
@anamnavi is already working on this.
Since Jan 19, 2022.
Area-Uninstall
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
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 prompt
Uninstall-PSResource * #Prompt for confirmation before uninstalling all modules.
Uninstall-PSResource * -Force #No confirmation
Uninstall-PSResource * -Confirm:$false ??
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.