title: Effective permissions on remote share for domain users in Powershell
body: <p>I searched and read some topics here but I didn't found what I am looking for.</p>
  
  <p>Basically, I want to check the effective permissions for a specific user for several shares, I want a script such as : </p>
  
  <pre><code>$user = Read-Host "Enter username"
  $shares = "\\serverABC\share2","\\serverABC\share1"
  
  foreach ($share in $shares)
  {
      Cmdlet-EffectivePermissions $share
  }
  </code></pre>
  
  <p>Output expected : </p>
  
  <pre><code>\\serverABC\share1
  Full Control : No
  Traverse folder / execute / file : YEs
  List folder / read data : No
  ...
  
  \\serverABC\share2"
  Full Control : No
  Traverse folder / execute / file : YEs
  List folder / read data : No
  ...
  </code></pre>
  
  <p>In fact, I want to do in Powershell exactly the same way that effective permissions Tab.</p>
  
  <p>Does it exist a built-in solution (without importing any modules, add-ins, ...) with .NET Method (GetUserEffectivePermissions) or with Get-ACL?</p>
  
  <p><img src="https://i.stack.imgur.com/SqPoW.jpg" alt="enter image description here"></p>