Source Options
Source
Used to force a package to process from a predefined source. This can be either a well known short name from the local machines chocolatey sources, or a full url. This can be very useful if for specific packages you may want to use a public repositories or others you want to ensure an internal one is used.
@{
'adobereader' = @{
Name = 'adobereader'
Ensure = 'Present'
Source = 'https://chocolatey.org/api/v2/'
}
'googlechrome-internal' = @{
Name = 'googlechrome'
Ensure = 'Present'
Source = 'local-repo'
}
}
If a package has dependencies, those also need to be available at the source location.
Last updated
Was this helpful?