# Set-RASTemplateVersion

## NAME

Set-RASTemplateVersion

## SYNOPSIS

Modifies the properties of a Template Version.

## SYNTAX

**Set-RASTemplateVersion**\
-[ObjType](#objtype) {VDITemplateVersion |\
RDSTemplateVersion | AVDTemplateVersion}\
-[TemplateId](#templateid-string) _(uint)_\
\[[Description](#description-string) _(string)_]\
\[[Id](#id-string) _(uint)_]\
\[[NewName](#newname-string) _(string)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Set-RASTemplateVersion**\
\[-[InputObject](#inputobject)]_(_[_TemplateVersion_](../types/templateversion)_)_\
-[ObjType](#objtype) {VDITemplateVersion |\
RDSTemplateVersion | AVDTemplateVersion}\
-[TemplateId](#templateid-string) _(uint)_\
\[[Description](#description-string) _(string)_]\
\[[NewName](#newname-string) _(string)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Set-RASTemplateVersion**\
\[\[-[SiteId](#siteid-string)] _(uint)_]\
-[ObjType](#objtype) {VDITemplateVersion |\
RDSTemplateVersion | AVDTemplateVersion}\
-[TemplateId](#templateid-string) _(uint)_\
\[[Description](#description-string) _(string)_]\
\[[Name](#name-string) _(string)_]\
\[[NewName](#newname-string) _(string)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Modifies the properties of a Template Version.

## PARAMETERS

## InputObject ([TemplateVersion](../types/templateversion))

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

The object is obtained using the Get-RASTemplateVersion cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

## NewName (string)

Template version name.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Description (string)

Template version description

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId1 (bool)

Enable or disable Tag with Id 1.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId2 (bool)

Enable or disable Tag with Id 2.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId3 (bool)

Enable or disable Tag with Id 3.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

The Name of the Template Version.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

The Id of the site which contains the Template Version.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of the Template Version.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TemplateId (uint)

The ID of the Template that contains the Template Version.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ObjType ([TemplateVersion](../types/templateversion))

The Template Type.

Possible values: VDITemplateVersion, RDSTemplateVersion,\
AVDTemplateVersion

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

[TemplateVersion](../types/templateversion)

## OUTPUTS

-none-

## EXAMPLES

\*\*---------- 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.

## RELATED LINKS

* [Get-RASTemplateVersion](get-rastemplateversion)
* [Remove-RASTemplateVersion](remove-rastemplateversion)
