Home Dashboard Directory Help
Search

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


Status: 

Active


9
0
Sign in
to vote
Type: Suggestion
ID: 792418
Opened: 7/3/2013 1:37:33 AM
Access Restriction: Public
0
Workaround(s)
view

Description



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'.
Details
Sign in to post a comment.
Posted by Thomas Lee on 7/3/2013 at 6:59 AM
Can we improve consistency. Please?
Sign in to post a workaround.