Export-​Azure​Remote​App​Template​Image

Exports the template image of one Azure RemoteApp collection to the specified Azure storage account.

Syntax

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

Description

The Export-AzureRemoteAppTemplateImage cmdlet exports the template image of one Azure RemoteApp collection to the specified Azure storage account.

Examples

Example 1: Export a template image to the Azure storage account

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

This command exports the template image of 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
-OverwriteExistingTemplateImage

Indicates that the cmdlet overwrites the existing template image.

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