PowerShell Team

Automating the world one-liner at a time…

Get-WmiChildNameSpace

I got sick of fiddling around with WMI namespace so I produced a really simple script to cope with this. I call it Get-WmiNamespace:  PS> cat .\Get-WMIChildNameSpace.ps1param ($Namespace="root\cimv2", $Computer=".", $Column=4)Get-WmiObject -Computer:$Computer -NameSpace:$NameSpace __NameSpace |Format-Wide -Column:$ColumnPS>PS> .\...
Comments are closed.0 0

Feedback usabilla icon