Closed ThomasNieto closed 3 years ago
Yes, I will definitely change this.
Actually, I am not sure if this can be changed as it is built-in to PowerShell's cmdlet ShouldProcess(). Will need to look into it.
The overload for ShouldContinue that contains a parameter hasSecurityImpact
that will set the default to N. Here is an issue that @mklement0 opened to add a new overload that removes the need for yes to all or no to all. https://github.com/PowerShell/PowerShell/issues/9428
Fixed preview2.
Can the confirmation prompt default to "N" instead of
(default is "Y")
? The last thing I would want to have happen is accidentally pressing enter and now all the configuration is reset.