-
Notifications
You must be signed in to change notification settings - Fork 32
Function CimObject
Mark Wragg edited this page Jun 17, 2019
·
5 revisions
Test the value of a CimObject Property.
Test the value of a CimObject Property. The Class can be provided with the Namespace. See Example.
[Parameter(
Mandatory = $true,
Position = 2,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 3,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 4,
ParameterSetName = 'Set 1')]
-Be, -BeExactly, -Match, -MatchExactly
CimObject Win32_OperatingSystem SystemDirectory { Should -Be C:\WINDOWS\system32 }
CimObject root/StandardCimv2/MSFT_NetOffloadGlobalSetting ReceiveSideScaling { Should -Be Enabled }
Getting Started
Contributing
Functions