# Get-RASAVDDefaultSettings

## NAME

Get-RASAVDDefaultSettings

## SYNOPSIS

Retrieves default settings used to configure an Azure Virtual Desktop.

## SYNTAX

**Get-RASAVDDefaultSettings** \[\[-[SiteId](#SiteId)] _\<uint>_] -[DefObjType](#DefObjType) {AVDMultiSessionDefaultSettings | AVDSingleSessionDefaultSettings} \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Retrieves default settings used to configure an Azure Virtual Desktop.

Default settings are defined on a site level and are applied to an Azure Virtual Desktop when it is initially created.

## PARAMETERS

-**SiteId \<uint>**\
Site ID from which to retrieve the defaults.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**DefObjType <**[**AVDDefObjType**](../classes-and-enumerations/avddefobjtype)**>**\
The Default Object Type

Possible values: AVDMultiSessionDefaultSettings, AVDSingleSessionDefaultSettings

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

[AVDDefaultSettings](../classes-and-enumerations/avddefaultsettings)

## EXAMPLES

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

Get-RASAVDDefaultSettings -DefObjType AVDSingleSessionDefaultSettings

Retrieves default Personal AVD settings from the specified site.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASAVDDefaultSettings -DefObjType AVDMultiSessionDefaultSettings

Retrieves default Pooled AVD settings from the specified site.

## RELATED LINKS

* [Set-RASAVDDefaultSettings](set-rasavddefaultsettings)
