This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 21:06:34 +02:00
parent 168718716c
commit f926dfb60d

View File

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