CmdID / PowerShell / Cmdlets / Set
Set-RDVirtualDesktopIdleCount
Sets the maximum number of idle virtual desktops on host servers. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-AllocationSpecifies a collection of values (key/value pair) that allocate idle virtual desktops to Remote Desktop Virtualization (RD Virtualization Host) servers.-BatchSizeSpecifies the batch size.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a remote desktop deployment.-HostServerSpecifies an array of names of the servers that host the session.-IdleCountSpecifies the number of idle virtual desktops.