PowerShell Logo Small

Remove-RDVirtualDesktopFromCollection



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.

SYNOPSIS

Removes virtual desktops from a virtual desktop collection.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Remove-RDVirtualDesktopFromCollection cmdlet removes one or more virtual desktops from a virtual desktop collection.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294251
Get-RDVirtualDesktopCollection
Get-RDVirtualDesktop

REMARKS

<

Examples


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".