Skip to content

Latest commit

 

History

History
174 lines (131 loc) · 4.09 KB

Export-AzureRemoteAppUserDisk.md

File metadata and controls

174 lines (131 loc) · 4.09 KB
external help file ms.assetid online version schema
Microsoft.WindowsAzure.Commands.RemoteApp.dll-Help.xml
72D332BA-A30B-45B9-875C-DF9D33299E05
2.0.0

Export-AzureRemoteAppUserDisk

SYNOPSIS

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

[!INCLUDE rdfe-banner]

SYNTAX

Export-AzureRemoteAppUserDisk [-CollectionName] <String> [-DestinationStorageAccountName] <String>
 [-DestinationStorageAccountKey] <String> [-DestinationStorageAccountContainerName] <String>
 [-OverwriteExistingUserDisk] [-Profile <AzureSMProfile>] [-WhatIf] [-Confirm] [<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.

PARAMETERS

-CollectionName

Specifies the name of the source Azure RemoteApp collection.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
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
Parameter Sets: (All)
Aliases: 

Required: True
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
Parameter Sets: (All)
Aliases: 

Required: True
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
Parameter Sets: (All)
Aliases: 

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

-OverwriteExistingUserDisk

Indicates that the cmdlet overwrites the existing user disk.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Copy-AzureRemoteAppUserDisk

Remove-AzureRemoteAppUserDisk