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