removed unnecessary lines

This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 19:56:47 +02:00
parent d3a2d4408f
commit 2bd7340a85

View File

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