diff --git a/NewProject.ps1 b/NewProject.ps1 index 055b2f0..58b0ab0 100644 --- a/NewProject.ps1 +++ b/NewProject.ps1 @@ -9,12 +9,12 @@ param ( . .\Variables.ps1 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 . .\AddProjectRoles.ps1 -ProjectName $ProjectName -Server $Server } else { - New-ADGroup -Path $Projects -Name $ProjectName + New-ADGroup -Path $Projects -Name $ProjectName -GroupCategory Security -GroupScope Global . .\AddProjectACL.ps1 -ProjectName $ProjectName . .\AddProjectRoles.ps1 -ProjectName $ProjectName } \ No newline at end of file