CmdID / PowerShell / Cmdlets / Set
Set-RDRemoteDesktop
Changes whether to publish a Remote Desktop to a collection. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CollectionNameSpecifies the name of a personal 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.-ForceForces the command to run without asking for user confirmation.-ShowInWebAccessSpecifies whether to publish a Remote Desktop connection.-WhatIf, -wiShows what would happen if the cmdlet runs.