Restart multiple computers with the PowerShell PCSVDevice module

To restart multiple computers with PowerShell and without relying on functionality of the remote operating system, you can use the PCSVDevice module. The module contains several useful cmdlets for out-of-band management and supports the IPMI protocol.

Sometimes you have to shut down a large number of servers due to outages, or you have to restart multiple servers synchronously because of an update to an interdependent application. Out-of-band management is one method we can use to do this.

Out-of-band management with PowerShell

Out-of-band management allows system administrators to access servers via protocols such as the Intelligent Platform Management Interface (IPMI) to perform actions outside of the operating system (OS) a server is running. Using IPMI takes place via a baseboard management controller (BMC) that can be integrated into or separate from the motherboard on a system.

For instance, if a server is powered off and you would like to power it back on, you can use IPMI to send a “power on” command as long as there is a network connection online to the BMC. Examples of BMCs are the Integrated Dell Remote Access (iDRAC) or HP Integrated Lights Out (iLO) cards. While this technology is not new, PowerShell actually has a module, Pcsvdevice, specifically designed for out-of-band management.


Leave a Reply

Your email address will not be published. Required fields are marked *