< Back

Get-RDPersonalVirtualDesktopAssignment

Thu Apr 04, 2019 5:41 am

NAME Get-RDPersonalVirtualDesktopAssignment



SYNOPSIS

Retrieves a list of personal virtual desktops and associated user accounts.





SYNTAX

Get-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> [-ConnectionBroker <String>] [<CommonParameters>]



Get-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> [-ConnectionBroker <String>] -User <String> [<CommonParameters>]



Get-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> [-ConnectionBroker <String>] -VirtualDesktopName <String> [<CommonParameters>]





DESCRIPTION

The Get-RDPersonalVirtualDesktopAssignment cmdlet retrieves a list of personal virtual desktops and associated user accounts. Specify one or more

user accounts to retrieve the associated personal virtual desktops, or specify one or more personal virtual desktop names to retrieve the

associated user accounts.





PARAMETERS

-CollectionName <String>

Specifies the name of a personal virtual desktop collection.





Required? true

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ConnectionBroker [<String>]

Specifies the Remote Desktop Connection Broker (RDConnection Broker) server for a Remote Desktop deployment. If you do not supply a value, the

cmdlet uses the fully qualified domain name (FQDN) of the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-User <String>

Specifies one or more user accounts, in DOMAIN\\User format.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VirtualDesktopName <String>

Specifies the name of the virtual desktop. This parameter is required. The virtual desktop identified here must be a member of the collection

that the CollectionName parameter specifies.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

System.Object







Example1: Retrieve a list of the current associations between personal virtual desktops and users



PS C:\\>Get-RDPersonalVirtualDesktopAssignment ????????CollectionName "Virtual Desktop Collection"



This command lists current associations between personal virtual desktops and users from the virtual desktop collection named Virtual Desktop

Collection.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294216

Export-RDPersonalVirtualDesktopAssignment

Import-RDPersonalVirtualDesktopAssignment

Remove-RDPersonalVirtualDesktopAssignment

Set-RDPersonalVirtualDesktopAssignment