mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
remove publish commands and correct formatting of example
This commit is contained in:
1 parent
53f8cdb29c
commit
362eef0c6e
2 files changed
+12
-7
No files matched your search
@@ -65,12 +65,6 @@ Get-InstalledScript
|
||||
# List available PS repositories
|
||||
Get-PSRepository
|
||||
|
||||
# Publish script to the PS Gallery
|
||||
Publish-Script -Path C:\Demo.ps1 -NuGetApiKey 1234 -Repository PSGallery -WhatIf
|
||||
|
||||
# Publish module to PS Gallery
|
||||
Publish-Module -Name Demo -RequiredVersion 0.1 -NuGetApiKey 1234 -Repository PSGallery -WhatIf
|
||||
|
||||
# Register a new private feed
|
||||
Register-PSRepository -Name "myPrivateGallery" –SourceLocation "https://www.myget.org/F/powershellgetdemo/api/v2" -PublishLocation "https://www.myget.org/F/powershellgetdemo/api/v2/Packages" -InstallationPolicy Trusted
|
||||
|
||||
|
||||
Reference in new issue
Block a user