none
migration failed classic to arm vm RRS feed

  • Question

  • Hello,

    While initiating move cmd for migration PS is not recognizing "Move-AzureVirtualNetwork" cmd. However, i was able to get the virtual network name with cmd "Get-AzVirtualNetwork", so i tried cmd "Move-AzVirtualNetwork" even this did not work.

    Kindly suggest if there anything wrong with the script. I'm referring to Azure Doc -"Migrate IaaS resources from classic to Azure Resource Manager by using Azure PowerShell"

    CMD used - Move-AzureVirtualNetwork -Prepare -VirtualNetworkName $vnetname                             

    Move-AzureVirtualNetwork : The term 'Move-AzureVirtualNetwork' 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-AzureVirtualNetwork -Prepare -VirtualNetworkName $vnetname
    + ~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Move-AzureVirtualNetwork:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Thanks,
    Sunday, October 13, 2019 10:47 AM

All replies