diff --git a/NewProject.ps1 b/NewProject.ps1 index babc31f..4d7de9d 100644 --- a/NewProject.ps1 +++ b/NewProject.ps1 @@ -21,7 +21,6 @@ if($PSBoundParameters.ContainsKey($ProjectName)){ $acl | ForEach-Object {New-ADGroupMember -Identity $ret -Member $_ -Server $Server} $r | ForEach-Object {New-ADGroupMember -Identity $ret -Member $_ -Server $Server} } else { - $ret = New-ADGroup -Path $Projects -Name $ProjectName -GroupCategory Security -GroupScope Global $acl = . .\AddProjectACL.ps1 -ProjectName $ProjectName $r = . .\AddProjectRoles.ps1 -ProjectName $ProjectName