Merge pull request #1386 from PowerShell/vors/cim
Add CimCmdlets module in the produced package of core modules
This commit is contained in:
commit
09ff780366
@ -61,7 +61,8 @@
|
||||
"Microsoft.PowerShell.Commands.Management": "1.0.0-*",
|
||||
"Microsoft.PowerShell.Commands.Utility": "1.0.0-*",
|
||||
"Microsoft.PowerShell.LocalAccounts": "1.0.0-*",
|
||||
"Microsoft.PowerShell.PackageManagement": "1.0.0-*"
|
||||
"Microsoft.PowerShell.PackageManagement": "1.0.0-*",
|
||||
"Microsoft.Management.Infrastructure.CimCmdlets": "1.0.0-*"
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
|
@ -0,0 +1,6 @@
|
||||
Describe 'Get-CimClass' {
|
||||
# Get-CimClass works only on windows
|
||||
It 'can get CIM_Error CIM class' -Skip:(-not $IsWindows) {
|
||||
Get-CimClass -ClassName CIM_Error | Should Not Be $null
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user