< Back

Move-AzureVirtualNetwork

Wed Jan 30, 2019 5:47 pm

NAME Move-AzureVirtualNetwork



SYNOPSIS

Migrate a Virtual Network to Azure Resource Manager stack





SYNTAX

Move-AzureVirtualNetwork [-Validate] [-VirtualNetworkName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]



Move-AzureVirtualNetwork [-Abort] [-VirtualNetworkName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]



Move-AzureVirtualNetwork [-Commit] [-VirtualNetworkName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]



Move-AzureVirtualNetwork [-Prepare] [-VirtualNetworkName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]





DESCRIPTION

This cmdlet allows you to migrate a Virtual Network to a resource group in the Azure Resource Manager stack.





PARAMETERS

-VirtualNetworkName <String>

Name of the Virtual Network to migrate



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Validate [<SwitchParameter>]

Validate the Virtual Network for migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Profile <AzureSMProfile>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Abort [<SwitchParameter>]

Cancel the Virtual Network migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Commit [<SwitchParameter>]

Start the Virtual Network migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Prepare [<SwitchParameter>]

Prepare the Virtual Network for migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1 --------------------------



Move-AzureVirtualNetwork -Prepare -VirtualNetworkName "contosoVNET"





-------------------------- Example 2 --------------------------



Move-AzureVirtualNetwork -Commit -VirtualNetworkName "contosoVNET"





-------------------------- Example 3 --------------------------



Move-AzureVirtualNetwork -Validate -VirtualNetworkName "contosoVNET"







RELATED LINKS