# Get-RASWinDeviceGroup

## NAME

Get-RASWinDeviceGroup

## SYNOPSIS

Retrieves the Windows device group.

## SYNTAX

**Get-RASWinDeviceGroup** \[[SiteId](#siteid-string)\*\*_(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASWinDeviceGroup** \[\[-[Id](#id-string)]\*\*_(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASWinDeviceGroup** \[\[-[Name](#name-string)]\*\*_(string)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Retrieves the Windows device group.

## PARAMETERS

## SiteId (uint)

The ID of the Site from which to retrieve the windows device group\
information.

If the parameter is omitted, the Licensing Server Site ID will be\
used.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

The name of the windows device group from which to retrieve the\
information.

This must be the actual windows device group name used in the RAS\
farm.

```
        Required?                    false

        Position?                    1

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of a windows device group from which to retrieve the\
information.

```
        Required?                    false

        Position?                    0

        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

[WinDeviceGroup](../types/windevicegroup)

## EXAMPLES

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

Get-RASWinDeviceGroup

Retrieves the list of Windows device groups.\
\*\*---------- EXAMPLE 2 ----------

Get-RASWinDeviceGroup -Name "WinDeviceGroup"

Retrieves the Windows device group with name WinDeviceGroup.\
\*\*---------- EXAMPLE 3 ----------

Get-RASWinDeviceGroup -Id 1

Retrieves the Windows device group with Id 1.

## RELATED LINKS

* [New-RASWinDeviceGroup](new-raswindevicegroup)
* [Set-RASWinDeviceGroup](set-raswindevicegroup)
* [Remove-RASWinDeviceGroup](remove-raswindevicegroup)
* [Add-RASWinDeviceGroupInboundPort](add-raswindevicegroupinboundport)
* [Get-RASWinDeviceGroupInboundPort](get-raswindevicegroupinboundport)
* [Remove-RASWinDeviceGroupInboundPort](remove-raswindevicegroupinboundport)
