Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » Windows PowerSh... » MidMarket IT » Hyper-V   (RSS)

PowerShell How To: Add -whatiff to your scripts

Wouldn't it be great if your scripts had a "read-only " mode that would allow you to test them without actually implementing changes? PowerShell call this "-whatif". Jeffrey Snover's Supporting -Whatif, -Confirm, -Verbose – In

Want Free PowerShell Library for Hyper-V Management?

Check out Jamesone's work at www.codeplex.com/psHyperV Including: Finding a VM Get-VM, Choose-VM , Get-VMHost Connecting to a VM New-VMConnectSession Discovering and manipulating Machine states Get-VMState , Set-VMState , Convert-VmState, Ping-VM , Shutdown-VM
 
Page view tracker