CIM cmdlets should have the 'NS' alias defined for the Namespace parameter - by Shay Levi

Status : 


Sign in
to vote
ID 792418 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 7/3/2013 1:37:33 AM
Access Restriction Public


WMI cmdlets that support the Namespace parameter have a 'NS' alias defined for that parameter. For example:

PS> Get-WmiObject Win32_Process -ns root/cimv2 

However, none of the new generation CIM* cmdlets supports that alias:

PS> Get-CimInstance Win32_Process -ns root/cimv2
Get-CimInstance : A parameter cannot be found that matches parameter name 'ns'.
Sign in to post a comment.
Posted by Thomas Lee on 7/3/2013 at 6:59 AM
Can we improve consistency. Please?