Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Move-MyGetNuGetPackages Fails #12

Description

@Yanzr513

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`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions