Sources
Minimum Configuration
At a minimum source configurations have 3 required parameters. Name, Source and Ensure. Name is the Chocolatey source name you wish to process, Source is the URL of the package repository and Ensure is the state at which you want that source to be.
@{
"contoso" = @{
Name = "contoso.com"
Source = "https://contoso.com/repository/nuget-hosted/"
Ensure = "Present"
}
"chocolatey" = @{
Name = "chocolatey"
Ensure = 'Absent'
}
}
Last updated
Was this helpful?