PowerShell Parameters

RISK MITIGATION PARAMETER DESCRIPTION EXAMPLE
-Confirm Prompt whether to take action. Creating a new item called test.txt:
ni test.txt -Confirm
-WhatIf Displays what a certain command would do. Removal of an item called test.txt:
del test.txt -WhatIf
Comments