Set-RASTemplateVersion
Modifies the properties of a Template Version.
Set-RASTemplateVersion -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint> [-Description <string>] [-Id <uint>] [-NewName <string>] [<CommonParameters>]
Set-RASTemplateVersion [-InputObject] <TemplateVersion> -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint> [-Description <string>] [-NewName <string>] [<CommonParameters>]
Set-RASTemplateVersion [[-SiteId] <uint>] -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint> [-Description <string>] [-Name <string>] [-NewName <string>] [<CommonParameters>]
Modifies the properties of a Template Version.
-InputObject <TemplateVersion> An object of type template version representing a RAS Template Version.
The object is obtained using the Get-RASTemplateVersion cmdlet.
-NewName <string> Template version name.
-Description <string> Template version description
-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>
-none-
---------- EXAMPLE 1 ----------
Set-RASTemplateVersion -ObjType AVDTemplate -TemplateId 1107548564 -Name "Old Version" -NewName "New Version"
Modifies the Name of the specified AVD Template Version. ---------- EXAMPLE 2 ----------
Set-RASTemplateVersion -ObjType VDITemplate -TemplateId 1107548564 -Id 1 -Description "New decsription"
Modifies the Name of the specified VDI Template Version.