PowerShell Logo Small

Set-RDVirtualDesktopCollectionConfiguration



This is the built-in help made by Microsoft for the command 'Set-RDVirtualDesktopCollectionConfiguration', 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

Changes configuration settings for a virtual desktop collection.

SYNTAX


Set-RDVirtualDesktopCollectionConfiguration [-CollectionName] <String> [-AutoAssignPersonalVirtualDesktopToUser <Boolean>] [-ClientDeviceRedirectionOptions
<RDClientDeviceRedirectionOptions>] [-CollectionDescription <String>] [-ConnectionBroker <String>] [-CustomRdpProperty <String>] [-GrantAdministrativePrivilege <Boolean>]
[-RedirectAllMonitors <Boolean>] [-RedirectClientPrinter <Boolean>] [-SaveDelayMinutes <Int32>] [-UserGroups <String[]>] [<CommonParameters>]
Set-RDVirtualDesktopCollectionConfiguration [-CollectionName] <String> [-ConnectionBroker <String>] -DisableUserProfileDisks [<CommonParameters>]
Set-RDVirtualDesktopCollectionConfiguration [-CollectionName] <String> [-ConnectionBroker <String>] [-ExcludeFilePath <String[]>] [-ExcludeFolderPath <String[]>]
[-IncludeFilePath <String[]>] [-IncludeFolderPath <String[]>] -DiskPath <String> -EnableUserProfileDisks -MaxUserProfileDiskSizeGB <Int32> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-RDVirtualDesktopCollectionConfiguration cmdlet changes configuration settings for a virtual desktop collection.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294267
Get-RDVirtualDesktopCollectionConfiguration
Get-RDVirtualDesktopCollection

REMARKS

<

Examples


Example 1: Change the save delay setting for a virtual desktop collection

PS C:\> Set-RDVirtualDesktopCollectionConfiguration -ConnectionBroker "rdcb.contoso.com" -CollectionName "Virtual Desktop Pool" -SaveDelayMinutes 5



This command changes the save delay setting for the virtual desktop collection named "Virtual Desktop Pool" that is associated with the RD Connection Broker server named
"rdcb.contoso.com". The command specifies a delay of 5 minutes before the server saves a virtual desktop in the virtual desktop collection that is not in use.




Example 2: Change the user profile disk settings for a virtual desktop collection

PS C:\> Set-RDVirtualDesktopCollectionConfiguration -ConnectionBroker "rdcb.contoso.com" -CollectionName "Virtual Desktop Pool" -EnableUserProfileDisks
-MaxUserProfileDiskSizeGB 10 -DiskPath "\\RDS-WKS-A27.contoso.com\uvhd"



This command enables a user profile disk for the virtual desktop collection named "Virtual Desktop Pool". The command specifies the maximum size of 10 gigabytes for the user
profile disk and specifies the path of the user profile disk.




Example 3: Change settings for a virtual desktop collection

PS C:\> Set-RDVirtualDesktopCollectionConfiguration -CollectionName "Virtual Desktop Pool" -CollectionDescription "Virtual Desktop Pool created using PowerShell"
-RedirectAllMonitors $false -ConnectionBroker "rdcb.contoso.com" -ClientDeviceRedirectionOptions AudioVideoPlayBack,PlugAndPlayDevice



This command changes configuration settings for the virtual desktop collection named "Virtual Desktop Pool". The command adds a description to the virtual desktop
collection, specifies that the server redirects a single monitor to the remote session, and specifies that Remote Desktop Services redirect AudioVideoPlayBack and
PlugAndPlayDevice client devices to the server in this collection.