Packages
Minimum Configuration
At a minimum package configurations have 2 required parameters. Name and Ensure. Name is the Chocolatey package name you wish to process, and Ensure is the state at which you want that package to be.
@{
Description = @{
Name = PackageName
Ensure = Present|Absent
}\
}
@{
'adobereader-install' = @{
Name = 'adobereader'
Ensure = 'Present'
}
'flashplayerplugin-removal' = @{
Name = 'flashplayerplugin'
Ensure = 'Absent'
}
}
Last updated
Was this helpful?