Configuration item which helps to find computers with Windows Media Player installed:
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:
------------------------------------------------------------------------------------
Configuration item which helps to find computers with PowerShell 3.0 installed
Setting type: WQL query
Compliance rule:
------------------------------------------------------------------------------------
Configuration item which helps to find computers with missing WSUS configuration
Setting type: Registry value
and
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
Komentarze
Prześlij komentarz