Remove-AzureRemoteAppTemplateImage

Deletes an Azure RemoteApp template image.

Note

The cmdlets referenced in this documentation are for managing legacy Azure resources that use Service Management APIs. See the Az PowerShell module for cmdlets to manage Azure Resource Manager resources.

Syntax

Remove-AzureRemoteAppTemplateImage
      [-ImageName] <String>
      [-Profile <AzureSMProfile>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AzureRemoteAppTemplateImage cmdlet deletes an Azure RemoteApp template image. A template image can deleted only if it is not linked to any Azure RemoteApp collection.

Examples

Example 1: Delete a template image

PS C:\> Remove-AzureRemoteAppTemplateImage -ImageName "ContosoApps"

This command deletes the template image named ContosoApps.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-ImageName

Specifies the name of the RemoteApp template image.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
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
Required: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
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False