Set-RASTemplateVersion
SYNOPSIS
Modifies the properties of a Template Version.
SYNTAX
Set-RASTemplateVersion -ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion}
-TemplateId <uint> [-Description <string>] [-Id <uint>] [-NewName <string>] [-TagId1 <bool>]
[-TagId2 <bool>] [-TagId3 <bool>] [<CommonParameters>]Set-RASTemplateVersion [-InputObject] <TemplateVersion>
-ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint>
[-Description <string>] [-NewName <string>] [-TagId1 <bool>] [-TagId2 <bool>] [-TagId3 <bool>]
[<CommonParameters>]Set-RASTemplateVersion [[-SiteId] <uint>]
-ObjType {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -TemplateId <uint>
[-Description <string>] [-Name <string>] [-NewName <string>] [-TagId1 <bool>] [-TagId2 <bool>]
[-TagId3 <bool>] [<CommonParameters>]DESCRIPTION
Modifies the properties of a Template Version.
EXAMPLES
Example 1
Modifies the Name of the specified AVD Template Version.
Example 2
Modifies the Name of 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
-NewName
Template version name.
-Description
Template version description
-TagId1
Enable or disable Tag with Id 1.
-TagId2
Enable or disable Tag with Id 2.
-TagId3
Enable or disable Tag with Id 3.
-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
RELATED LINKS
Last updated