For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-RASTemplateVersion

SYNOPSIS

Removes a Template version.

SYNTAX

Remove-RASTemplateVersion -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion}
 -TemplateId <uint> [-Id <uint>] [<CommonParameters>]
Remove-RASTemplateVersion [-InputObject] <TemplateVersion>
 -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint>
 [<CommonParameters>]
Remove-RASTemplateVersion [[-SiteId] <uint>]
 -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint>
 [-Name <string>] [<CommonParameters>]

DESCRIPTION

Removes a Template version.

EXAMPLES

Example 1

Removes the specified AVD Template Version.

Example 2

Modifies the specified VDI Template Version.

PARAMETERS

-InputObject

An object of type template version representing a RAS Template Version.

The object is obtained using the Get-RASTemplateVersion cmdlet.

Type reference: TemplateVersion

-Name

The Name of the Template Version.

-SiteId

The Id of the site which contains the Template Version.

-Id

The ID of the Template Version.

-TemplateId

The ID of the Template that contains the Template Version.

-ObjType

The Template Type.

Possible values: VDITemplateVersion, RDSTemplateVersion, AVDTemplateVersion

Type reference: TemplateVersion

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.

INPUTS

TemplateVersion

OUTPUTS

None

Last updated