Showing tag results for PowerTip

Nov 30, 2012
Post comments count0
Post likes count0

PowerTip: Find All Modules on a System by Using PowerShell

Doctor Scripto

Summary: Learn how to find all modules on a system by using Windows PowerShell.  How can I find all of the modules on my system by using Windows PowerShell?  Use the Get-Command cmdlet and specify all of the modules. Pipe the results to the Group-Object cmdlet, and sort the results to make it easier to read, as sh...

Scripting Guy!Windows PowerShellPowerTip
Nov 29, 2012
Post comments count0
Post likes count0

PowerTip: Start All Virtual Machines on Remote Servers Running Hyper-V

Doctor Scripto

Summary: See how to start all virtual machines on remote servers running Hyper-V by using Windows PowerShell.  How can I start all virtual machines on several remote servers running Hyper-V by using Windows PowerShell?  Use the pattern Get-VM | Start-VM but with the Get-VM cmdlet to specify an array of servers running Hyper...

Scripting Guy!Windows PowerShellPowerTip
Nov 28, 2012
Post comments count0
Post likes count0

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

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 27, 2012
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Easily View Contents of VBScript

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 26, 2012
Post comments count0
Post likes count0

PowerTip: Open Windows 8 Control Panel Items from PowerShell

Doctor Scripto

Summary: Learn how to open Windows 8 Control Panel items from within Windows PowerShell.  How can I open a Control Panel item, such as Windows Firewall, from within Windows PowerShell?  Use the Show-ControlPanelItem cmdlet. To get a list of openable Control Panel items, use the Get-ControlPanelItem cmdlet, as...

Scripting Guy!Windows PowerShellPowerTip