> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-raswindevicegroup.md).

# 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](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/windevicegroup.md)

## EXAMPLES

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

Get-RASWinDeviceGroup

Retrieves the list of Windows device groups.\
\&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASWinDeviceGroup -Name "WinDeviceGroup"

Retrieves the Windows device group with name WinDeviceGroup.\
\&#xNAN;**---------- EXAMPLE 3 ----------**

Get-RASWinDeviceGroup -Id 1

Retrieves the Windows device group with Id 1.

## RELATED LINKS

* [New-RASWinDeviceGroup](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/new-raswindevicegroup.md)
* [Set-RASWinDeviceGroup](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-raswindevicegroup.md)
* [Remove-RASWinDeviceGroup](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-raswindevicegroup.md)
* [Add-RASWinDeviceGroupInboundPort](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/add-raswindevicegroupinboundport.md)
* [Get-RASWinDeviceGroupInboundPort](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-raswindevicegroupinboundport.md)
* [Remove-RASWinDeviceGroupInboundPort](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-raswindevicegroupinboundport.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-raswindevicegroup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
