This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 20:44:50 +02:00
parent 5d6f617b8d
commit 168718716c

View File

@ -73,8 +73,8 @@ if($PSBoundParameters.ContainsKey("ProjectName")){
$fsarar = $rid,$fsrr,$type
$fsaraw = $wid,$fsrw,$type
$fileSystemAccessRuleR = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fileSystemAccessRuleArgumentList
$fileSystemAccessRuleW = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fileSystemAccessRuleArgumentList
$fileSystemAccessRuleR = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fsarar
$fileSystemAccessRuleW = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fsaraw
$FolderACL.SetAccessRule($fileSystemAccessRuleR)
$FolderACL.SetAccessRule($fileSystemAccessRuleW)