added group attributes

This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 14:11:19 +02:00
parent 07c10b68e3
commit 42fd038b5d

View File

@ -9,12 +9,12 @@ param (
. .\Variables.ps1 . .\Variables.ps1
if($PSBoundParameters.ContainsKey("Server")){ if($PSBoundParameters.ContainsKey("Server")){
New-ADGroup -Path $Projects -Server $Server -Name $ProjectName New-ADGroup -Path $Projects -Server $Server -Name $ProjectName -GroupCategory Security -GroupScope Global
. .\AddProjectACL.ps1 -ProjectName $ProjectName -Server $Server . .\AddProjectACL.ps1 -ProjectName $ProjectName -Server $Server
. .\AddProjectRoles.ps1 -ProjectName $ProjectName -Server $Server . .\AddProjectRoles.ps1 -ProjectName $ProjectName -Server $Server
} else { } else {
New-ADGroup -Path $Projects -Name $ProjectName New-ADGroup -Path $Projects -Name $ProjectName -GroupCategory Security -GroupScope Global
. .\AddProjectACL.ps1 -ProjectName $ProjectName . .\AddProjectACL.ps1 -ProjectName $ProjectName
. .\AddProjectRoles.ps1 -ProjectName $ProjectName . .\AddProjectRoles.ps1 -ProjectName $ProjectName
} }