diff --git a/AD/CreateN1-N2Users/Create-ADtechs.ps1 b/AD/CreateN1-N2Users/Create-ADtechs.ps1 index cebf8aa..f77e555 100644 --- a/AD/CreateN1-N2Users/Create-ADtechs.ps1 +++ b/AD/CreateN1-N2Users/Create-ADtechs.ps1 @@ -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 {}