Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use PowerShell to Set the Power Plan on Networked Servers

Summary: Use a couple of simple Windows PowerShell commands to report the power plan settings on servers as well as setting them. Microsoft Scripting Guy, Ed Wilson, is here. Well, today the Scripting Wife and I travel to The Netherlands for the sold-out Dutch Windows PowerShell user group meeting. This all-day user group meeting is sort of ...

Configure a Network Adapter to Wake a Computer Via PowerShell

Summary: Learn how to use Windows PowerShell to configure a remote computer's network adapter to wake the computer.   (image) Hey, Scripting Guy! At work, we have been trying to get our automation solution put into place. One problem is that on many of the computers, the network adapter is not configured to allow it to wake up the machine...

Get Windows Power Plan Settings on Your Computer by Using PowerShell

  Summary: Use Windows PowerShell to retrieve the power plan settings for your computer. The Microsoft Scripting Guys show you how.   (image) Hey, Scripting Guy! I need to have a way to easily retrieve the power plan settings for the active power plan on my computer. I would like to have an easy to read display of the setting name, ...

Find Active Power Plan on Remote Servers by Using PowerShell

Summary: Find the active power plan on remote servers by using Windows PowerShell and WMI information. The Microsoft Scripting Guys show you how to do it.   (image) Hey, Scripting Guy! I have a real problem. It seems that both Windows 7 and Windows Server 2008 R2 install with the “balanced” power plan. A balanced power plan ...