This is the built-in help made by Microsoft for the command 'Remove-RDVirtualDesktopFromCollection', 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.
Removes virtual desktops from a virtual desktop collection.
Remove-RDVirtualDesktopFromCollection [-CollectionName] <String> [-ConnectionBroker <String>] [-Force] -VirtualDesktopName <String[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
The Remove-RDVirtualDesktopFromCollection cmdlet removes one or more virtual desktops from a virtual desktop collection.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=294251
Get-RDVirtualDesktopCollection
Get-RDVirtualDesktop
<
Example 1: Remove a virtual desktop from a virtual desktop collection
PS C:\> Remove-RDVirtualDesktopFromCollection -CollectionName "Virtual Desktop Pool" -VirtualDesktopName @("RDS-WKS-A27") -ConnectionBroker "rdcb.contoso.com"
This command removes the virtual desktop named "RDS-WKS-A27" from the virtual desktop collection named "Virtual Desktop Pool".