dsccommunity / xRemoteDesktopSessionHost

This module contains DSC resources for the management and configuration of Microsoft Remote Desktop Session Host (RDSH).
MIT License
36 stars 47 forks source link

xRDSessionCollectionConfiguration does not support setting UserProfileDisk settings #34

Closed danielboth closed 6 years ago

danielboth commented 6 years ago

The xRDSessionCollectionConfiguration resource should be able to configure UserProfileDisk related settings which are:

DiskPath EnableUserProfileDisk MaxUserProfileDiskSizeGB IncludeFolderPath ExcludeFolderPath IncludeFilePath ExcludeFilePath

Also, the resource should be able to disable the UserProfileDisk configuration if the configuration specifies so.

UserProfileDisks are a W2016+ feature only and that is probably why this resource does not support them yet. Also, on Set-RDSessionCollectionConfiguration, both enabling and disabling the User Profile Disk configuration are different parameter sets, so just adding these as parameters won't work if we don't fix the resource.

Proposed solution:

Version tested: 1.5.0.0

danielboth commented 6 years ago

Started working on this in #35