-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I have tried to move my nuget packages from one public feed(sourcefeed) stored on an Azure Devops Org (org1) , to another Private (destinationfeed) feed Organization on Azure Devops (org2) , and when i type the command, I get an error. And my powershell version is as follows.
`Move-MyGetNuGetPackages -SourceIndexUrl 'https://pkgs.dev.azure.com/udtrucksQA/_packaging/netcore/nuget/v3/index.json' -DestinationIndexUrl 'https://pkgs.dev.azure.com/leoyanstudy/_packaging/leoyanstudy/nuget/v3/index.json' -DestinationPAT 'xxx' -DestinationFeedName 'leoyanstudy' -Verbose
Move-MyGetNuGetPackages : The term 'Move-MyGetNuGetPackages' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- Move-MyGetNuGetPackages -SourceIndexUrl 'https://pkgs.dev.azure.com/u ...
-
+ CategoryInfo : ObjectNotFound: (Move-MyGetNuGetPackages:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS H:> host
Name : ConsoleHost
Version : 5.1.19041.1320
InstanceId : 396c9a50-9ff8-4575-a789-e595ae512bb3
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : zh-CN
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace`