# Get-RASTemplateVersionStatus

## NAME

Get-RASTemplateVersionStatus

## SYNOPSIS

Retrieves the Status information of one or more Template Versions.

## SYNTAX

**Get-RASTemplateVersionStatus** -[ObjType](#ObjType) {VDITemplateVersion | RDSTemplateVersion | AVDTemplateVersion} -[TemplateId](#TemplateId) _\<uint>_ \[-[Id](#Id) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Retrieves the Status information of one or more Template Versions.

## PARAMETERS

-**Id \<uint>**\
The Version Id of the Template Version Status to retrieve.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**TemplateId \<uint>**\
The Id of the Template from which to retrieve the Version Status(es).

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**ObjType <**[**TemplateVersionObjType**](../classes-and-enumerations/templateversionobjtype)**>**\
The Template type of which to retrieve the Template Version Status(es).

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

[TemplateVersionStatus](../classes-and-enumerations/templateversionstatus)

## EXAMPLES

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

Get-RASTemplateVersionStatus -ObjType RDSTemplate -TemplateId 1107544675

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

Get-RASTemplateVersionStatus -ObjType AVDTemplate -TemplateId 1107548564 -Id 2

Retrieves the Status information of the specified Version from the specified AVD Template.

## RELATED LINKS

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