Remove-RASTemplateVersion
Removes a RAS Template version.
Remove-RASTemplateVersion [-TemplateId] <uint> [[-TemplateSiteId] <uint>] -ObjType {RDSTemplate | VDITemplate | AVDTemplate} -VersionId <uint> [<CommonParameters>] Remove-RASTemplateVersion [-InputObject] <TemplateVersion> [<CommonParameters>] Remove-RASTemplateVersion [-TemplateName] <string> [[-TemplateSiteId] <uint>] -ObjType {RDSTemplate | VDITemplate | AVDTemplate} -VersionId <uint> [<CommonParameters>]
Removes a RAS Template version.
-TemplateName <string> The name of the target RAS Template.
-TemplateSiteId <uint> Site ID of the specified RAS Template. If the parameter is omitted, the site ID of the Licensing Server will be used.
-TemplateId <uint> The ID of the target RAS Template.
-ObjType <TemplateObjType> The Object Type from which to remove the Template Version. Possible values: RDSTemplate, VDITemplate, AVDTemplate
-VersionId <uint> The Version ID of the Template Version.
-InputObject <TemplateVersion> An object of type template version representing a RAS Template Version. The object is obtained using the Get-RASTemplateVersion cmdlet.
<CommonParameters>
-none-
---------- EXAMPLE 1 ---------- Remove-RASTemplateVersion -ObjType VDITemplate -Id 1 Removes the version of the Template specified by ObjType and ID.