Showing archive results for February 2016

Feb 12, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to format drive

Doctor Scripto

Summary: Learn how to use Windows PowerShell to quickly format a drive.  How can I use Windows PowerShell to quickly format a drive?  Use the Format-Volume cmdlet and specify the drive letter, for example: Format-Volume -DriveLetter D

Scripting Guy!Windows PowerShellPowerTip
Feb 12, 2016
Post comments count0
Post likes count0

Finding WMI classes that contain methods

Doctor Scripto

Summary: Learn how to find methods from WMI classes. Sometimes when working with WMI, it might seem as if you are entering a strange territory with dangers lurking around every corner. Unfortunately, there might not even be a sign such as the following to alert you to the hidden dangers: But by using the CIM cmdlets, we can bring a bit of order...

Scripting Guy!Windows PowerShellWMI
Feb 11, 2016
Post comments count1
Post likes count0

PowerTip: List all WMI classes

Doctor Scripto

Summary: Use the Get-CimClass cmdlet to easily list all classes in current WMI namespace.  How can I use Windows PowerShell to list all of the WMI classes in the current WMI namespace?  Use the Get-CimClass cmdlet.

Scripting Guy!Windows PowerShellPowerTip
Feb 11, 2016
Post comments count0
Post likes count0

Use CIM cmdlets to find WMI classes

Doctor Scripto

Summary: Learn how to locate the right WMI class by using the Get-CimClass cmdlet to work through the class schema. Windows Management Instrumentation (WMI) came into the Windows world around the time of the Windows NT 4.0 Service Pack 4—that’s about the same time as the release of Star Wars 1: The Phantom Menace. One of the really cool things abou...

Scripting Guy!Windows PowerShellWMI
Feb 10, 2016
Post comments count0
Post likes count0

PowerTip: Find default PowerShell modules

Doctor Scripto

Summary: Find Windows PowerShell modules that load by default.  How can I easily find what modules are loading in my Windows PowerShell console by default?  Open your Windows PowerShell console, and before doing anything, type Get-Module.

Scripting Guy!Windows PowerShellPowerTip