This is something I thought about, never had the need to, so figured out how to 🙂
For WMI:
1 |
Get-WMIObject -Class __Namespace -Namespace root |
For CIM:
1 |
Get-Ciminstance -ClassName __Namespace -Namespace root |