Setting type: Script
$ff = dism /online /get-featureinfo /featurename:WindowsMediaPlayer | findstr State
If ($ff -eq "State : Enabled") {
$Compliance = "Compliant"
}
Else {
$Compliance = "NonCompliant"
}
Return $Compliance
Compliance rule:
------------------------------------------------------------------------------------
Setting type: WQL query
------------------------------------------------------------------------------------
Setting type: Registry value
and
Compliance rule:
and
Brak komentarzy:
Prześlij komentarz