PowerShell Logo Small

Remove-RDVirtualDesktopCollection



This is the built-in help made by Microsoft for the command 'Remove-RDVirtualDesktopCollection', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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 virtual desktop collection.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Remove-RDVirtualDesktopCollection cmdlet removes a virtual desktop collection from a remote desktop deployment.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294250
Get-RDVirtualDesktopCollection
New-RDVirtualDesktopCollection
Remove-RDVirtualDesktopCollection
Update-RDVirtualDesktopCollection

REMARKS

<

Examples


Example 1: Remove a virtual desktop collection

PS C:\> Remove-RDVirtualDesktopCollection -CollectionName "Virtual Desktop Pool" -ConnectionBroker "rdcb.contoso.com" -Force



This command removes the virtual desktop collection named "Virtual Desktop Pool" that is associated with the RD Connection Broker server named "rdcb.contoso.com". The Force
parameter removes the virtual desktop collection without prompting you for confirmation.