February 2019
Intermediate to advanced
626 pages
15h 51m
English
If the Confirm parameter is not set, whether or not a prompt is shown is determined by PowerShell. The value of the ConfirmPreference variable is compared with the stated impact of a command.
By default, the value of ConfirmPreference is High, as shown in the following code:
PS> $ConfirmPreferenceHigh
By default, commands have a medium impact.
Read now
Unlock full access