# Remove-RASWinDeviceGroup.md

## NAME

Remove-RASWinDeviceGroup

## SYNOPSIS

Removes a Windows device group.

## SYNTAX

\*\*Remove-RASWinDeviceGroup \[[SiteId](#siteid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Remove-RASWinDeviceGroup \[\[-[Id](#id-string)] *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Remove-RASWinDeviceGroup \[\[-[InputObject](#inputobject)] *(*[*WinDeviceGroup*](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/windevicegroup)*)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Remove-RASWinDeviceGroup \[\[-[Name](#name-string)] *(string)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

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

## InputObject ([WinDeviceGroup](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/windevicegroup))

The Windows Device Group to remove.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        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

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

## OUTPUTS

-none-

## EXAMPLES

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

Remove-RASWinDeviceGroup -Name "WinDeviceGroup"

Removes the Windows device group with name WinDeviceGroup.\
\*\*---------- EXAMPLE 2 ----------

Remove-RASWinDeviceGroup -Id 1

Removes the Windows device group with Id 1.

## RELATED LINKS

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