Scripting Blog

A place to learn about PowerShell and share stories of automation

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. 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, the ...

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.  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 for a ...

Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/27/10)

In this post:  How Can I Take Script Output and Use It in Other Scripts? Hey Scripting Guy! I'm trying to learn Windows PowerShell. I took your script for enumerating computers in the domain, and it worked like it was supposed to. That list of computers will be the cornerstone of almost everything I do with Windows ...