You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$out= dsc resource set -r root.cimv2/Win32_Environment -i $i2>$TestDrive/error2.log
76
76
$out| Should -BeNullOrEmpty
77
-
(Get-Content$TestDrive/error2.log -Raw) | Should -BeLike "*All key properties in the CIM class 'Win32_Environment' are read-only, which is not supported.*"
77
+
(Get-Content$TestDrive/error2.log -Raw) | Should -BeLike "*All properties specified in the CIM class 'Win32_Environment' are read-only, which is not supported.*"
78
78
}
79
79
80
80
It 'Set works on a WMI resource'-Skip:(!$IsWindows) {
0 commit comments