Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find What a PowerShell Command Does

$
0
0

Summary: Learn how to find out what a Windows PowerShell command does before it does it.

Hey, Scripting Guy! Question 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?

Hey, Scripting Guy! Answer You can add the –WhatIf parameter to all Windows PowerShell cmdlets that make changes automatically,
           for example:

Stop-Process –name MYPROCESS -WhatIf


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>