diff --git a/test/fullclr/PowerShellGithubDev.Tests.ps1 b/test/fullclr/PowerShellGithubDev.Tests.ps1 index 3433f295cd..9e36017357 100644 --- a/test/fullclr/PowerShellGithubDev.Tests.ps1 +++ b/test/fullclr/PowerShellGithubDev.Tests.ps1 @@ -110,6 +110,18 @@ try Remove-Module -ErrorAction SilentlyContinue PSWorkflow } } + + It 'loads CimCmdlets' { + try + { + Import-Module CimCmdlets -ErrorAction Stop + Get-CimClass | Should Not Be $null + } + finally + { + Remove-Module -ErrorAction SilentlyContinue CimCmdlets + } + } } }