WMI (PowerShell)

Here’s a few quick one liners (or two liners) that will help you understand working with WMI in Windows PowerShell
Get all WMI Classes

Get-WmiObject -List

Get all WMI Classes from a Server called ‘Server01’

Get-WmiObject -List -ComputerName Server01

 

Get all WMI Classes from a Server at IP 192.168.1.90

Get-WmiObject -List -ComputerName 192.168.1.90

 

 

 
Comments

No comments yet.

Leave a Reply