# Get-RASTemplateVersion

## NAME

Get-RASTemplateVersion

## SYNOPSIS

Retrieves the settings information of one or more Template Versions.

## SYNTAX

**Get-RASTemplateVersion**\
-[ObjType](#objtype) {VDITemplateVersion |\
RDSTemplateVersion | AVDTemplateVersion}\
-[TemplateId](#templateid-string) _(uint)_\
\[[Id](#id-string) _(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASTemplateVersion**\
\[\[-[SiteId](#siteid-string)] _(uint)_]\
-[ObjType](#objtype) {VDITemplateVersion |\
RDSTemplateVersion | AVDTemplateVersion}\
-[TemplateId](#templateid-string) _(uint)_\
\[[Name](#name-string) _(string)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Retrieves the settings information of one or more Template Versions.

## PARAMETERS

## 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

([TemplateVersionObjType](../types/templateversionobjtype))\
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

-none-

## OUTPUTS

[TemplateVersion](../types/templateversion)

## EXAMPLES

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

Get-RASTemplateVersion -ObjType VDITemplate -TemplateId 1107548564

Retrieves the settings information of all Versions found within the\
specified VDI Template.\
\*\*---------- EXAMPLE 2 ----------

Get-RASTemplateVersion -ObjType RDSTemplate -TemplateId 1107548564 -Name\
"Version 1"

Retrieves the settings information of the specified Version from the\
specified RDS Template.\
\*\*---------- EXAMPLE 3 ----------

Get-RASTemplateVersion -ObjType AVDTemplate -TemplateId 1107548564 -Id\
1

Retrieves the settings information of the specified Version from the\
specified AVD Template.

## RELATED LINKS

* [Set-RASTemplateVersion](set-rastemplateversion)
* [Remove-RASTemplateVersion](remove-rastemplateversion)
