Copy-​Azure​Remote​App​User​Disk

Copies the user disk of a user from one Azure RemoteApp collection to another.

Syntax

Copy-AzureRemoteAppUserDisk
    [-SourceCollectionName] <String>
    [-DestinationCollectionName] <String>
    [-UserUpn] <String>
    [-OverwriteExistingUserDisk]
    [-Profile <AzureSMProfile>]
    [<CommonParameters>]

Description

The Copy-AzureRemoteAppUserDisk cmdlet copies the user disk of a user from one Azure RemoteApp collection to another.

Examples

Example 1: Copy a user disk

PS C:\> Copy-AzureRemoteAppUserDisk -DestinationCollectionName "Contoso02" -SourceCollectionName "Contoso01" -UserUpn "PattiFuller@contoso.com" -OverwriteExistingUserDisk

This command copies the user disk of an Azure Active Directory user who has the UPN PattiFuller@contoso.com from the collection Contoso01 to the collection Contoso02. If a user disk for PattiFuller@contoso.com already exists on Contoso02, this command overwrites it.

Required Parameters

-DestinationCollectionName

Specifies the name of the destination Azure RemoteApp collection.

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

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

Specifies the user principal name (UPN) of the user for whom this cmdlet copies the disk.

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

Optional Parameters

-OverwriteExistingUserDisk

Indicates that this cmdlet overwrites an 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