# Get-RASAVDVersion

## NAME

Get-RASAVDVersion

## SYNOPSIS

The cmdlet retrieves a list or the latest Azure Virtual Desktop\
Version.

## SYNTAX

**Get-RASAVDVersion** -[Location](#location-string)\*\*_(string)_ -[Offer](#offer-string) _(string)_\
-[ProviderId](#providerid-string) _(uint)_\
-[Publisher](#publisher-string) _(string)_\
-[RequestType](#RequestType) {All | Latest}\
-[SKU](#sku-string) _(string)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

The cmdlet retrieves a list or the latest Azure Virtual Desktop\
Version.

## PARAMETERS

## ProviderId (uint)

Provider ID from which to retrieve the Azure Virtual Desktop Stock\
Keeping Unit information.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Location (string)

Location of the Azure Virtual Desktop Provider.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Publisher (string)

The Azure Virtual Desktop Publisher.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Offer (string)

The Azure Virtual Desktop Offer.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SKU (string)

The Azure Virtual Desktop SKU.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## RequestType ([RequestType](../types/requesttype))

Whether to retrieve a list of all available versions or just the latest\
version.

Possible values: All, Latest

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

[AVDMarketplaceVersion](../types/avdmarketplaceversion)

## EXAMPLES

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

Get-RASAVDVersion -ProviderId 2 -Location "westeurope" -Publisher\
"my-publisher" -Offer "my-offer" -SKU "my-sku" -RequestType All

Retrieves a list of Versions which fall under the Provider, Location,\
Publisher, Offer and SKU specified.\
\*\*---------- EXAMPLE 2 ----------

Get-RASAVDVersion -ProviderId 2 -Location "westeurope" -Publisher\
"my-publisher" -Offer "my-offer" -SKU "my-sku" -RequestType Latest

Retrieves only the latest Version which falls under the Provider,\
Location, Publisher, Offer and SKU specified.

## RELATED LINKS

-none-
