# Get-RASAVDResourceGroup

## NAME

Get-RASAVDResourceGroup

## SYNOPSIS

The cmdlet returns a list of Azure Virtual Desktop Resource Groups.

## SYNTAX

**Get-RASAVDResourceGroup** -[ProviderId](#providerid-string) *(uint)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

The cmdlet returns a list of Azure Virtual Desktop Resource Groups.

## PARAMETERS

## ProviderId (uint)

Provider ID from which to retrieve the Azure Virtual Desktop Resource Group information.

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

[AVDResourceGroup](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/avdresourcegroup)

## EXAMPLES

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

Get-RASAVDResourceGroup -ProviderId 2 | Format-List

Retrieves all the Resource Groups under the Provider with ID 2.

The Format-List cmdlet formats the display output to include all available properties.

## RELATED LINKS

* [New-RASAVDResourceGroup](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/new-rasavdresourcegroup)
