Instruction
Atifactory hot commands
- set nexus proxy for powershell gallery
Register-PSRepository -Name PSGallery -SourceLocation "http://nexus.local/repository/powershellgallery" -PublishLocation "http://nexus.local/repository/powershellgallery" -InstallationPolicy Trusted
Unregister-PSRepository -Name Nexus
dotnet nuget add source -n nexus http://nexus.local/repository/nuget-group/index.json --allow-insecure-connections --protocol-version 3
- nuget remove default repo
dotnet nuget remove source nuget
choco.exe source add -n=nexus -s=http://nexus.local/repository/chocolatey-group/
- choco revome default repo
choco.exe source remove -n=chocolatey