diff --git a/NewProject.ps1 b/NewProject.ps1 index bfb2b00..dbb98c5 100644 --- a/NewProject.ps1 +++ b/NewProject.ps1 @@ -54,6 +54,9 @@ if($PSBoundParameters.ContainsKey("ProjectName")){ $member = $rs | Where-Object Name -Match ".*-RO" Add-ADGroupMember -Identity $target -Members $member } + + + $folder = New-Item -Path $projPath -ItemType Directory $ReadTarget = $acls | Where-Object Name -Match ".*-RO" $WriteTarget = $acls | Where-Object Name -Match ".*-RW"