This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 20:41:49 +02:00
parent fa67132086
commit 651e0c435e

View File

@ -55,6 +55,9 @@ 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