New-​Azure​Remote​App​Template​Image

Uploads or imports an Azure RemoteApp template image.

Syntax

New-AzureRemoteAppTemplateImage
   [-ImageName] <String>
   [-Location] <String>
   -AzureVmImageName <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
New-AzureRemoteAppTemplateImage
   [-ImageName] <String>
   [-Location] <String>
   [-Path] <String>
   [-Profile <AzureSMProfile>]
   [-Resume]
   [<CommonParameters>]

Description

The New-AzureRemoteAppTemplateImage cmdlet uploads or imports an Azure RemoteApp template image.

Examples

Example 1: Upload a VHD file to create a template image

PS C:\> New-AzureRemoteAppTemplateImage -ImageName "ContosoApps" -Location "North Europe" -Path "C:\RemoteAppImages\ContosoApps.vhd"

This command uploads C:\RemoteAppImages\ContosoApps.vhd to create a template image named ContosoApps in the North Europe data center.

Required Parameters

-AzureVmImageName

Specifies the name of an Azure virtual machine to use as a template image.

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

Specifies the name of an Azure RemoteApp template image.

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

Specifies the Azure region of the template image.

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

Specifies the file path of the template image.

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

Optional Parameters

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

Indicates that this cmdlet resumes if the upload of a template image is interrupted.

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