CmdID / PowerShell / Cmdlets / Remove
Remove-RDSessionCollection
Removes a session collection from a Remote Desktop deployment. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-CollectionNameSpecifies the name of a session collection.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.-ForcePerforms the action without a confirmation message.-WhatIf, -wiShows what would happen if the cmdlet runs.