CmdID / PowerShell / Cmdlets / Update
Update-RDVirtualDesktopCollection
Associates a virtual desktop collection with a new virtual desktop template. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-CollectionNameSpecifies the name of a virtual desktop 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.-DisableVirtualDesktopRollbackIndicates that the server prevents the rollback of a virtual desktop deployment.-ForceForces the command to run without asking for user confirmation.-ForceLogoffTimeSpecifies a date and time by which the server ends the session if the operation is still running.-StartTimeSpecifies a date and time to start the operation.-VirtualDesktopPasswordAgeSpecifies the number of days after which the server forces a password update for the computer account.-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.-WhatIf, -wiShows what would happen if the cmdlet runs.