snap
This commit is contained in:
parent
168718716c
commit
f926dfb60d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user