I was exploring the outcome of a powershell command after seeing a question asked on the stackoverflow forum.
Using -WhatIf parameter when the command was run was ignored by the console and it ran it through
In the past we have used the -WhatIf parameter many times. Especially before running commands towards active directory.
But now when I ran this command it just went on and formatted the drive. This has to be a bug?
Format-Volume -WhatIf -DriveLetter D -FileSystem NTFS
Here's an example where the -WhatIf parameter does it's job
I think I will never trust the -WhatIf parameter again