Ledger Nano X - The secure hardware wallet


a guest Apr 8th, 2020 161 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $folder = get-childitem -path "c:\users\user\desktop\test" -filter "1" -recurse -directory | foreach-object { $_.Fullname }
  2. #get-acl $folder | where {$_.identityreference -notmatch "BUILTIN|NT AUTHORITY|EVERYONE|CREATOR OWNER"} | fl Path,owner,group,access
  3. $acl = get-acl $folder
  4. $rule = new-object system.security.accesscontrol.filesystemaccessrule("domain\project_managers","FullControl","Allow")
  5. $acl.setaccessrule($rule)
  6. $acl | set-acl
  7. get-acl $folder | where {$_.identityreference -notmatch "BUILTIN|NT AUTHORITY|EVERYONE|CREATOR OWNER"} | fl path,owner,group,access
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand