# = NO NEED TO EDIT ANYTHING BELOW THIS LINE = # - $env:chocolateyProxyPassword = '' # explicit proxy password (optional) # - $env:chocolateyProxyUser = '' # explicit proxy user name (optional) # - $env:chocolateyProxyLocation = '' # explicit proxy # - $env:chocolateyIgnoreProxy = 'true' # ignore proxy # - $env:ChocolateyEnvironmentDebug = 'true' # see output # following environment variables and it will affect the output # Prior to running this script, in a PowerShell session, you can set the #$7zipUrl = '' (download this file, host internally, and update this to internal) # Built-in does not work with Server Core, but if you have PowerShell 5 # Make sure the version matches for the arguments as well. # 7zip is the most compatible, but you need an internally hosted 7za.exe. $repoPassword = '' # this must be empty if NOT using authentication $repoUsername = '' # this must be empty is NOT using authentication Otherwise these leave these as empty strings. # If the above $packageRepo repository requires authentication, add the username and password here. # If you are using Nexus, always add the trailing slash or it won't work # This is where you see the top level API - with xml to Packages - should look nearly the same as # Download and install Chocolatey nupkg from an OData (HTTP/HTTPS) url such as Artifactory, Nexus, ProGet (all of these are recommended for organizational use), or Chocolatey.Server (great for smaller organizations and POCs)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |