Tag: WMI (Page 4/5)

#PSTip Optimizing WMI object retrieval

Whenever we use WMI cmdlets to query either local or remote machines, we need to keep the following points in…

Read More

#PSTip Another way to modify WMI instance properties

In the previous tip we showed you how to modify WMI object properties using Get-WmiObject cmdlet and the Put method.┬áToday…

Read More

#PSTip Modifying WMI Object properties using Get-WmiObject cmdlet

Get-WmiObject and object modification! Sounds contradictory? Not really. That is the beauty of PowerShell and its object-based nature. Let us…

Read More

#PSTip A hidden gem of the Test-Connection cmdlet

PowerShell equivalent of the ping.exe utility is the Test-Connection cmdlet. One of the hidden and less known capabilities of Test-Connection…

Read More

#PSTip Getting WMI associated classes in PowerShell 3.0

In Windows PowerShell 2.0, retrieving WMI associations and references required complex WMI queries. For example, if you wanted to get…

Read More

#PSTip How to get non-running automatic services

The Startup type information is not available when we use the Get-Service cmdlet. Luckily┬áthe Win32_Service WMI class has a StartMode…

Read More