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

@ -55,9 +55,6 @@ if($PSBoundParameters.ContainsKey("ProjectName")){
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"
Write-Host $ReadTarget.Name Write-Host $ReadTarget.Name