Controlling System Power State with Windows PowerShell

What would you do in the event of a complete utility power failure? Would you remote desktop to each key workoad running in your environment and shut it down gracefully? This approach works very well when your infrastructure is relatively small, but eventually the number of servers in your environment will grow to the point that it’s simply no longer practical. This is where PowerShell’s capability of managing the power state of your machines either via WMI calls or through native Cmdlets really becomes valuable. Let’s take a look at how we would shut down or restart machines, both singly and in batch.
Continue reading “Controlling System Power State with Windows PowerShell”