Merge pull request #1386 from PowerShell/vors/cim

Add CimCmdlets module in the produced package of core modules
This commit is contained in:
Sergei Vorobev 2016-07-15 15:00:07 -07:00 committed by GitHub
commit 09ff780366
2 changed files with 8 additions and 1 deletions

View File

@ -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": {

View File

@ -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
}
}