michelbdec
New Member
Member details
- Joined
- May 6, 2019
- Messages
- 4
what permission archive in powershell?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$ACL = Get-ACL .\Temp\
$Rule = [System.Security.AccessControl.FileSystemAccessRule]::new(@"computername\user",[System.Security.AccessControl.FileSystemRights]::FullControl,[System.Security.AccessControl.AccessControlType]::Allow)
$ACL.Access.AddRule($Rule)
Set-Acl -Path .\Temp\ -AclObject $ACL
$ACL = Get-ACL .\Temp\
$Rule = [System.Security.AccessControl.FileSystemAccessRule]::new(@"computername\user",[System.Security.AccessControl.FileSystemRights]::FullControl,[System.Security.AccessControl.AccessControlType]::Allow)
$ACL.Access.AddRule($Rule)
Set-Acl -Path .\Temp\ -AclObject $ACL