$parameters = @{ Name = "myNuGetSource" SourceLocation = "https://www.myget.org/F/powershellgetdemo/api/v2" PublishLocation = "https://www.myget.org/F/powershellgetdemo/api/v2/Packages" InstallationPolicy = 'Trusted' } Register-PSRepository @parameters Get-PSRepository Name SourceLocation OneGetProvider InstallationPolicy ---- -------------- -------------- ------------------ PSGallery http://go.micro... NuGet Untrusted myNuGetSource https://myget.c... NuGet Trusted
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter