examples/Resources/ChocolateyFeature/1-ChocolateyFeature_DisableFeature.ps1

1
2
3
4
5
6
7
8
9
10
11
12
configuration Chocolatey {
    
    Import-DscResource -ModuleName Chocolatey

    Node localhost {
        ChocolateyFeature NoVIrusCheck {
            Ensure = 'Absent'
            Name   = 'viruscheck'
        }
    }
}