From 651e0c435e543f7503d1f4cd004fdb8aae2c9659 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 14 Jul 2024 20:41:49 +0200 Subject: [PATCH] snap --- NewProject.ps1 | 3 +++ 1 file changed, 3 insertions(+) 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"