# Make sure the version matches for the arguments as well. # 7zip is the most compatible, but you need an internally hosted 7za.exe. $localChocolateyPackageFilePath = 'c:\packages\chocolatey.0.10.0.nupkg' # uncomment if you want to download the file from a remote OData (HTTP/HTTPS) internal url (such as Artifactory, Nexus, ProGet, or Chocolatey.Server) # use an internal repository to download Chocolatey nupkg to the local path: If it is on a repository somewhere, you will need to enhance the below script to get that file (the Chocolatey Puppet provider install script shows that). Then you would run a script similar to the below to address that local install. ![]() You can put the chocolatey.nupkg on an internal package repository and then address that full path, similar to how you see in the Puppet provider - Minimum PowerShell version 2.0 Installation Options Install Module Azure Automation Manual Download Copy and Paste the following command to install this package using PowerShellGet More Info Install-Module -Name MSOnline Author (s) Microsoft Corporation Copyright c Microsoft Corporation.You can also download the latest version directly.Go to and find a version you want.Ĭlick on Download to download that version's nupkg file. Install the module Rename the module replacing the. The first step with offline is to obtain a copy of the Chocolatey Nupkg (nupkg files are just fancy zip files). Search for the desired module Select the Manual Download tab Click the Download the raw nupkg file After the file finishes downloading, transfer it to the desired computer. ![]() With completely offline use of Chocolatey, you want to ensure you remove the default community package source ( choco source list followed by choco source remove -n chocolatey, or however you would do that with a configuration manager like Puppet).
0 Comments
Leave a Reply. |