Move-AzureStorageAccount
Syntax
Move-AzureStorageAccount
[-Abort]
[-StorageAccountName] <String>
[-InformationAction <ActionPreference>]
[-InformationVariable <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Move-AzureStorageAccount
[-Commit]
[-StorageAccountName] <String>
[-InformationAction <ActionPreference>]
[-InformationVariable <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Move-AzureStorageAccount
[-Prepare]
[-StorageAccountName] <String>
[-InformationAction <ActionPreference>]
[-InformationVariable <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Move-AzureStorageAccount
[-Validate]
[-StorageAccountName] <String>
[-InformationAction <ActionPreference>]
[-InformationVariable <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
The Move-AzureStorageAccount cmdlet migrates a storage account to a resource group in the Azure Resource Manager stack.
Examples
Example 1: Prepare storage account migration
PS C:\> Move-AzureStorageAccount -Prepare -StorageAccountName "ContosoStorageName"
This command prepares the storage account named ContosoStorageName for migration to the Azure Resource Manager stack.
Example 2: Start storage account migration
PS C:\> Move-AzureStorageAccount -Commit -StorageAccountName "ContosoStorageName"
This command starts migration of the storage account named ContosoStorageName to the Azure Resource Manager stack.
Example 3: Validate storage account migration
PS C:\> Move-AzureStorageAccount -Validate -StorageAccountName "ContosoStorageName"
This command validates migration for the storage account named ContosoStorageName to the Azure Resource Manager stack.
Required Parameters
Indicates that this cmdlet cancels the storage account migration.
| Type: | SwitchParameter |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Indicates that this cmdlet starts the storage account migration.
| Type: | SwitchParameter |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Indicates that this cmdlet prepares the storage account for migration.
| Type: | SwitchParameter |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the name of the storage account that this cmdlet migrates.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True (ByPropertyName) |
| Accept wildcard characters: | False |
Specifies that this cmdlet validates the storage account for migration.
| Type: | SwitchParameter |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Optional Parameters
Specifies how this cmdlet responds to an information event.
The acceptable values for this parameter are:
- Continue
- Ignore
- Inquire
- SilentlyContinue
- Stop
- Suspend
| Type: | ActionPreference |
| Aliases: | infa |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies an information variable.
| Type: | String |
| Aliases: | iv |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
| Type: | AzureSMProfile |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |