Showing results for WMI - Scripting Blog [archived]

Feb 12, 2016
0
0

Finding WMI classes that contain methods

Doctor Scripto
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
0
0

Use CIM cmdlets to find WMI classes

Doctor Scripto
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
0
0

Using the PowerShell CIM cmdlets for fun and profit

Doctor Scripto
Doctor Scripto

Summary: Learn how to use CIM cmdlets for better speed, security, and data return as opposed to the WMI cmdlets in Windows PowerShell. The other day, Windows PowerShell MVP, Richard Siddaway, posted Should I use CIM or WMI with Windows PowerShell? Today, I would like to continue that discussion a little bit. You should read Richard’s blog post bef...

Scripting Guy!Windows PowerShellscripting techniques
Feb 8, 2016
0
0

Should I use CIM or WMI with Windows PowerShell?

Doctor Scripto
Doctor Scripto

Summary: Richard Siddaway explains the differences between the CIM cmdlets and the WMI cmdlets, and details use cases.  Hey, Scripting Guy! Should I use the WMI cmdlets or the newer CIM cmdlets? —NR  Hello NR, Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. The simple answer is that you can...

Windows PowerShellguest bloggerWMI
Jan 15, 2016
0
1

PowerTip: Use PowerShell to Find Command Line of Processes

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to find the command line of processes.  How can I find the command line that was used to launch a process that is running on my system?  Use the Get-CimInstance cmdlet, the Win32_Process WMI class, and the CommandLine property: gcim win32_process | select commandli...

Scripting Guy!Windows PowerShellPowerTip