List/Grid Tag Archives: WMI
#PSTip View Policy Settings with RSOP WMI classes
Note: This tip requires admin privileges (elevated shell) To get Resultant Set of Policy (RSOP) data we usually RSOP.mmc or the gpresult command line tool. But we can also use WMI to retrieve the settings. Under…
#PSTip List all WMI event classes
Note: This tip requires PowerShell 2.0 or above. If you are familiar with Windows Management Instrumentation (WMI), there are different types of WMI queries possible. This includes data, event, and…
#PSTip Resolving IP addresses with WMI
When we need to resolve addresses, we usually use the System.Net.Dns .NET class methods. In addition to the .NET method, we can also use WMI class–Win32_PingStatus–to achieve this. The Test-Connection cmdlet…
#PSTip Monitor file growth using WMI
Note: This tip requires PowerShell 2.0 or above. When running long running scripts, we prefer to log the activities performed to a log file. By the very nature of these…
#PSTip Excluding WMI system properties
Whenever you use Windows Management Instrumentation (WMI), the result always comes back with a list of system properties. WMI system properties are associated with all classes and instances of classes,…
#PSTip Get all WMI classes with methods
Note: This tip requires PowerShell 2.0 or above. When working with WMI and PowerShell, I often find it necessary to quickly generate a list of methods available in a WMI…

