CmdID / PowerShell / Cmdlets / Get
Get-RDPersonalSessionDesktopAssignment
Gets personal session desktop assignments. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-CollectionNameSpecifies the name of a personal virtual desktop collection.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment.-NameSpecifies the name of the personal session desktop assignment to get.-UserSpecifies a user account in DOMAIN\user format.