PowerShell / PowerShell/PSResourceGet
Add ShouldProcess/ConfirmImpact to Uninstall-PSResource
Offen
@anamnavi arbeitet bereits daran.
Seit 19.1.2022.
Area-Uninstall
- Vorherrschende Sprache
- C#
- Sterne
- 576
- Forks
- 114
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
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 ??
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.