PowerShell - Scripting Best Practices
Why does the
-WhatIf parameter not execute the action but -Confirm may still execute it after confirmation?-WhatIf parameter not execute the action but -Confirm may still execute it after confirmation?-WhatIf simulates the command without running it; -Confirm prompts user and runs if confirmed.-WhatIf only simulates; -Confirm asks user and runs if confirmed correctly describes this behavior.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions