title: how to get which user or group has file/folder access in windows?
body: <p>I want to know which user or groups has file/folder access(permission) in windows using PowerShell?</p>
  
  <p>I tried it by using this code:</p>
  
  <pre><code>$Files = "D:\Akki\data\*.txt"
  Get-Acl  $Files | Format-Table -property PSPath, Owner
  </code></pre>
  
  <p>But it shows only owner of the file.</p>