xPSDesiredStateConfiguration icon indicating copy to clipboard operation
xPSDesiredStateConfiguration copied to clipboard

xGroup: How to handle built-in groups

Open glatzert opened this issue 9 years ago • 4 comments

Hey,

let's assume I got a user [email protected] and I got three servers. One server is German, one is English, one is French.

Now I'd like to add [email protected] to "BUILT-IN\Remote Desktop Users" aka "BUILT-IN\Remotedektopbenutzer" aka "BUILT-IN(French here)".

Do you see the possibility, that you enable SIDs as group names - at least for the "well known groups"?

glatzert avatar Aug 04 '16 08:08 glatzert

It seems SIDs are (on purpose or not) supported. Perhaps you can make sure, that using SID for local Groups will not break in the future?

glatzert avatar Aug 30 '16 12:08 glatzert

@glatzert Do you have a configuration that shows this? That could be used for unit test and integration test to make sure this is still supported when changes occurs.

johlju avatar May 11 '18 14:05 johlju

I use this snippet, to add my IIS-Agent as Admin:

Group AddAgentAsAdmin { GroupName = "S-1-5-32-544" MembersToInclude = "myDomain\myAgentAcccount" }

glatzert avatar May 17 '18 09:05 glatzert

@glatzert Thanks a lot for the configuration! Appreciate it!

johlju avatar May 18 '18 10:05 johlju