title: PowerShell To Set Folder Permissions
body: <p>I am trying to use the &quot;default&quot; options in applying folder permissions; by that, I mean that using the &quot;Full Controll, Write, Read, etc&quot; in the 'Properties' for a folder.</p>
  <p>The following script works to add the user in, but it applies &quot;Special Permissions&quot; - not the ones with the tick boxes for the ones visible in the properties menu of the folder:</p>
  <pre class="lang-powershell prettyprint-override"><code>$Acl = Get-Acl &quot;\\R9N2WRN\Share&quot;
  
  $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule (&quot;user&quot;,&quot;FullControl&quot;,&quot;Allow&quot;)
  
  $Acl.SetAccessRule($Ar)
  Set-Acl &quot;\\R9N2WRN\Share&quot; $Acl
  </code></pre>
  <p>What am I doing wrong please?</p>