Change group assignment
This commit is contained in:
parent
842a474a80
commit
e7d688f972
@ -63,8 +63,8 @@ $domaineSID = (GetADSID)
|
||||
$grpAccountOp = "S-1-5-32-548"
|
||||
$grpDomainAdm = "S-1-5-21-$domaineSID-512"
|
||||
$grpPrintOp = "S-1-5-32-550"
|
||||
$grpServerOp = "S-1-5-32-549"
|
||||
$grpPowerUsers = "S-1-5-32-547"
|
||||
#$grpServerOp = "S-1-5-32-549" Pas utilisé
|
||||
#$grpPowerUsers = "S-1-5-32-547" Déprécié
|
||||
$grpDHCPadm = "S-1-5-21-$domaineSID-1111"
|
||||
$grpDHCPuser = "S-1-5-21-$domaineSID-1110"
|
||||
$grpGPOadmin = "S-1-5-21-$domaineSID-520"
|
||||
@ -91,7 +91,7 @@ ForEach($user in $userList){
|
||||
|
||||
#...puis on l'ajoute aux bons groupes
|
||||
switch ($user) {
|
||||
"Tech-N1"{$Groups = @($grpPowerUsers,$grpPrintOp,$grpDHCPuser)}
|
||||
"Tech-N1"{$Groups = @($grpAccountOp,$grpPrintOp,$grpDHCPuser)}
|
||||
"Tech-N2"{$Groups = @($grpAccountOp,$grpPrintOp,$grpDHCPadm,$grpGPOadmin,$grpNetAdmin)}
|
||||
"Tech-N3"{$Groups = @($grpDomainAdm)}
|
||||
Default {}
|
||||
|
Loading…
Reference in New Issue
Block a user