# 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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rastemplateversion)
* [Remove-RASTemplateVersion](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rastemplateversion)
