# 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) _\<uint>_ \[-[Id](#Id) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Get-RASTemplateVersion** \[\[-[SiteId](#SiteId)] _\<uint>_] -[ObjType](#ObjType) {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -[TemplateId](#TemplateId) _\<uint>_ \[-[Name](#Name) _\<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**](../classes-and-enumerations/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](../classes-and-enumerations/templateversion)

## EXAMPLES

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

Get-RASTemplateVersion -ObjType VDITemplate -TemplateId 1107548564

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

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

Retrieves the settings information of the specified Version from the specified RDS Template.\
&#xNAN;**---------- 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)
