Export-​Azure​Remote​App​User​Disk

Exports all user disks from one Azure RemoteApp collection to the specified Azure storage account.

Syntax

Export-AzureRemoteAppUserDisk
      [-CollectionName] <String>
      [-DestinationStorageAccountName] <String>
      [-DestinationStorageAccountKey] <String>
      [-DestinationStorageAccountContainerName] <String>
      [-OverwriteExistingUserDisk]
      [-Profile <AzureSMProfile>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Export-AzureRemoteAppUserDisk cmdlet exports all user disks from one Azure RemoteApp collection to the specified Azure storage account.

Examples

Example 1: Export all the user disks from a collection to the specified Azure storage account

PS C:\> Export-AzureRemoteAppUserDisk -CollectionName "Contoso" -DestinationStorageAccountName "AccountName" -DestinationStorageAccountKey "AccountKey" -DestinationStorageAccountContainerName "ContainerName" -OverwriteExistingUserDisk

This command exports all the user disks from the collection named Contoso to a container named ContainerName in the specified Azure storage account with name AccountName and key AccountKey.

Required Parameters

-CollectionName

Specifies the name of the source Azure RemoteApp collection.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DestinationStorageAccountContainerName

Specifies the name of a container in the destination Azure storage account.

Type:String
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DestinationStorageAccountKey

Specifies the Key of the destination Azure storage account.

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DestinationStorageAccountName

Specifies the name of the destination Azure storage account.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-OverwriteExistingUserDisk

Indicates that the cmdlet overwrites the existing user disk.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

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
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False