PowerShell Logo Small

Remove-RDSessionCollection



This is the built-in help made by Microsoft for the command 'Remove-RDSessionCollection', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes a session collection from a Remote Desktop deployment.

SYNTAX


Remove-RDSessionCollection [-CollectionName] <String> [-ConnectionBroker <String>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-RDSessionCollection cmdlet removes a session collection from a Remote Desktop deployment. A session collection consists of one or
more Remote Desktop Session Host (RDSession Host) servers. The RDSession Host servers remain part of the deployment. This cmdlet does not
remove or modify any of the role services installed on the servers.



<

RELATED LINKS

Get-RDSessionCollection
New-RDSessionCollection

REMARKS

<

Examples


Example 1: Remove a session collection

PS C:\> Remove-RDSessionCollection -CollectionName "Session Collection" -ConnectionBroker "RDCB.Contoso.com"



This command removes the session collection named Session Collection from the Remote Desktop deployment that has the RDConnection Broker named
RDCB.Contoso.com.