CmdID / PowerShell / Cmdlets / Add
Add-RDVirtualDesktopToCollection
Adds virtual desktops to a virtual desktop collection. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-CollectionNameSpecifies the name of a virtual desktop collection.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.-VirtualDesktopAllocationSpecifies a collection of values (key/value pair) that allocate virtual desktops to Remote Desktop Virtualization (RD Virtualization Host) servers.-VirtualDesktopNameSpecifies an array of names of a virtual desktops.-VirtualDesktopPasswordAgeSpecifies the number of days after which the server enforces a password update.-VirtualDesktopTemplateHostServerSpecifies the fully qualified domain name (FQDN) of the server where the virtual desktop template associated with the collection is stored.-VirtualDesktopTemplateNameSpecifies a descriptive name for the virtual desktop template.