< Back

Import-AzureStorSimpleLegacyVolumeContainer

Wed Jan 30, 2019 5:47 pm

NAME Import-AzureStorSimpleLegacyVolumeContainer



SYNOPSIS

Starts the migration of volume containers.





SYNTAX

Import-AzureStorSimpleLegacyVolumeContainer [-LegacyConfigId] <System.String> [-All] [[-SkipACRs]] [[-Force]] [-Profile

<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]



Import-AzureStorSimpleLegacyVolumeContainer [-LegacyConfigId] <System.String> [-LegacyContainerNames] <System.String[]> [[-SkipACRs]] [[-Force]]

[-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]





DESCRIPTION

The Import-AzureStorSimpleLegacyVolumeContainer cmdlet starts the migration of volume containers from a legacy appliance to the target appliance.





PARAMETERS

-All <SwitchParameter>

Indicates that this cmdlet imports all volume containers in the imported configuration file to the target device.



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Indicates that this cmdlet imports volume container on a different device, even if volume container has been imported on a different device.



Required? false

Position? 4

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-LegacyConfigId <System.String>

Specifies the unique ID of the configuration of the legacy appliance.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-LegacyContainerNames <System.String[]>

Specifies an array of volume container names for which the migration plan applies.



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-SkipACRs [<SwitchParameter>]

Indicates that the import process skips access control records for migration.



Required? false

Position? 3

Default value none

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

String



This command returns the status of the migration import volume container job if it has been successfully started in the appliance.





NOTES





Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple



Example 1: Import a legacy volume container



PS C:\\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud"

Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet



This command imports a legacy volume container for the named container. The cmdlet starts the import, and then returns a message.





Example 2: Import all legacy volume containers



PS C:\\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -All

Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet



This command imports all legacy volume containers from configuration file imported. The cmdlet starts the import, and then returns a message.







RELATED LINKS

Get-AzureStorSimpleLegacyVolumeContainerStatus

Import-AzureStorSimpleLegacyApplianceConfig