examples/Resources/ChocolateyPackage/2-ChocolateyPackage_UninstallPackage.ps1

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

    Node localhost {
        ChocolateyPackage Putty {
            Ensure  = 'Absent'
            Name    = 'Putty'
        }
    }
}