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 = "Write"
$type = "Allow"
$fsarar = $rid,$fsrr,$type
$fsaraw = $wid,$fsrw,$type
$fsarar = @($rid,$fsrr,$type)
$fsaraw = @($wid,$fsrw,$type)
$fileSystemAccessRuleR = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fsarar
$fileSystemAccessRuleW = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $fsaraw