title: Powershell Add-NTFSAccess using csv
body: <p>I'm a bit new to Powershell and i'm trying to complete a simple script for a project I'm working on. I get it working 95% of the way but it just not returning the results. I have loaded the NTFSSECURITY Module and I'm using Add-NTFSACCESS to set Deny delete on multiple folders using the paths stored in a .csv file. See below. </p>
  
  <p><strong>Script</strong></p>
  
  <pre><code>$itempath = import-csv "C:\dox\folderpath.csv"
  foreach ($items in  $itempath) {
      Add-NTFSAccess  -path $itempath -AccessRights Delete -Account "domain\username"  -AccessType Deny -AppliesTo ThisFolderOnly
  }
  </code></pre>
  
  <p>This is the <strong>error</strong> i get </p>
  
  <blockquote>
    <p>Add-NTFSAccess : Unable to find the specified file.</p>
  </blockquote>
  
  <p>Please help</p>