PowerShell Logo Small

Set-RDPersonalVirtualDesktopAssignment



This is the built-in help made by Microsoft for the command 'Set-RDPersonalVirtualDesktopAssignment', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates an association between a personal virtual desktop and a user account.

SYNTAX


Set-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> [-ConnectionBroker <String>] -User <String> -VirtualDesktopName <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-RDPersonalVirtualDesktopAssignment cmdlet creates an association between a personal virtual desktop and a user account.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294261
Export-RDPersonalVirtualDesktopAssignment
Get-RDPersonalVirtualDesktopAssignment
Import-RDPersonalVirtualDesktopAssignment
Remove-RDPersonalVirtualDesktopAssignment

REMARKS

<

Examples


Example 1: Create an association between a user and a personal virtual desktop

PS C:\>Set-RDPersonalVirtualDesktopAssignment -CollectionName "Virtual Desktop Collection" -User "CONTOSO\sarahjones" -PersonalVirtualDesktop "PVD-21"



This command associates a user with a personal virtual desktop.