PowerTip: Find What a PowerShell Command Does
Summary: Learn how to find out what a Windows PowerShell command does before it does it.
I found a Windows PowerShell command on the Internet that might be what I need, but how can I see what
it does before it messes something up?
You can add the –WhatIf parameter to all Windows PowerShell cmdlets that make changes automatically,
Stop-Process –name MYPROCESS -WhatIf