# Get-RASExcludeADGroup

## NAME

Get-RASExcludeADGroup

## SYNOPSIS

Retrieves Exclude AD group settings.

## SYNTAX

**Get-RASExcludeADGroup** \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Retrieves the active Exclude AD group settings of the current site.

## PARAMETERS

-**SiteId \<uint>**\
Site ID from which to retrieve the Exclude AD group Settings.

To obtain the ID of a desired site, use the Get-Sites cmdlet.

```
        Required?                    false

        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

[ExcludeADGroupsSettings](../classes-and-enumerations/excludeadgroupssettings)

## EXAMPLES

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

Get-RASExcludeADGroup

Retrieves the active Exclude AD group settings of the current site.

## RELATED LINKS

* [Add-RASExcludeADGroup](add-rasexcludeadgroup)
* [Remove-RASExcludeADGroup](remove-rasexcludeadgroup)
