Showing results for November 2012 - Page 2 of 14 - Scripting Blog [archived]

Nov 28, 2012
0
0

PowerTip: Use PowerShell to Determine if a Laptop Is Running on Battery

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to determine if a laptop is running on battery.  How can I use Windows PowerShell to determine if my laptop is running on battery? Use the Win32_Battery WMI class and look for a BatteryStatus of 1—this means the battery is discharging (in use). Here is an example using either th...

Scripting Guy!Windows PowerShellscripting techniques
Nov 28, 2012
0
0

Dortmund, Geneva, Zurich

ScriptingGuy1
ScriptingGuy1

Summary: Our trip now takes us from the Netherlands to Dortmund to Geneva and then on to Zurich. Well, the Scripting Wife and I had a wonderful time at the first-ever Dutch PowerShell user group. I delivered two presentations and made dozens of new contacts and friends. The following day, Jeff Wouters took Teresa and me out and showed us around. On...

Scripting Guy!communityScripting Wife
Nov 28, 2012
0
0

Use PowerShell to Detect Power State and to Set Power Plan

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect the power state on his laptop and to set the appropriate power plan. Microsoft Scripting Guy, Ed Wilson, is here. This evening in Oslo, Norway, the Scripting Wife and I are attending the Microsoft Technology User Group meeting. The meeting runs from 18:00 un...

Scripting Guy!Windows PowerShellscripting techniques
Nov 27, 2012
0
0

PowerTip: Use PowerShell to Easily View Contents of VBScript

Doctor Scripto
Doctor Scripto

Summary:  Learn how to use Windows PowerShell to view contents of a VBScript file.  How can I use Windows PowerShell to easily view the contents of a VBScript file, such as SLMGR.VBS? I do not know the path to the file.  You do not need to know the path to the file. Use the Windows PowerShell Get-Command cmdlet to find...

Scripting Guy!Windows PowerShellPowerTip
Nov 27, 2012
0
0

Use PowerShell and WMI or CIM to View and to Set Power Plans

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell and WMI or CIM cmdlets to view and to set power plans on his laptop. Microsoft Scripting Guy, Ed Wilson, is here. Tomorrow, the Scripting Wife and I are at the Microsoft Technology User Group in Oslo, Norway. I will be talking about using Windows PowerShell 3.0 to...

Scripting Guy!Windows PowerShelldesktop management