< Back

Move-AzureStorageAccount

Wed Jan 30, 2019 5:47 pm

NAME Move-AzureStorageAccount



SYNOPSIS

Migrate a Storage Account to Azure Resource Manager stack





SYNTAX

Move-AzureStorageAccount [-Validate] [-StorageAccountName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

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



Move-AzureStorageAccount [-Abort] [-StorageAccountName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

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



Move-AzureStorageAccount [-Commit] [-StorageAccountName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

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



Move-AzureStorageAccount [-Prepare] [-StorageAccountName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

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





DESCRIPTION

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





PARAMETERS

-Validate [<SwitchParameter>]

Validate the Storage Account for migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-StorageAccountName <String>

Name of the Storage Account to migrate



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

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 Storage Account migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Commit [<SwitchParameter>]

Start the Storage Account migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Prepare [<SwitchParameter>]

Prepare the Storage Account 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-AzureStorageAccount -Prepare -StorageAccountName "contosoStorageName"





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



Move-AzureStorageAccount -Commit -StorageAccountName "contosoStorageName"





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



Move-AzureStorageAccount -Validate -StorageAccountName "contosoStorageName"







RELATED LINKS