Remove-RASTemplateVersion.md

NAME

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.

PARAMETERS

InputObject (TemplateVersion)

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

The object is obtained using the Get-RASTemplateVersion cmdlet.

Name (string)

The Name of the Template Version.

SiteId (uint)

The Id of the site which contains the Template Version.

Id (uint)

The ID of the Template Version.

TemplateId (uint)

The ID of the Template that contains the Template Version.

ObjType (TemplateVersion)

The Template Type.

Possible values: VDITemplateVersion, RDSTemplateVersion, AVDTemplateVersion

(CommonParameters)

INPUTS

TemplateVersion

OUTPUTS

-none-

EXAMPLES

**---------- EXAMPLE 1 ----------

Remove-RASTemplateVersion -ObjType AVDTemplate -TemplateId 1107548564 -Name "Version 1"

Removes the specified AVD Template Version. **---------- EXAMPLE 2 ----------

Remove-RASTemplateVersion -ObjType VDITemplate -TemplateId 1107548564 -Id 1

Modifies the specified VDI Template Version.

Last updated