title: Powershell -recursive in Azure Data Lake Store
body: <p>Do someone know how to list every file in a directory inside data lake store and sub directories? apparently the <code>-recursive</code> instruction does not work as it does in a normal environment</p>
  
  <p>I need to run this script in Azure Data Lake Store, (which runs properly in my computer)</p>
  
  <pre><code>$Quarentine = "C:\PSTest\QUARENTINE"
  
  $validate = "C:\PSTest\Files"
  
  get-childitem $validate -rec -af | Where-Object {$_.FullName -notmatch "^C:\\PSTest\\Files\\(.+\\)*(XX.+)\.(.+)$"} | 
  move-item -destination {"C:\PSTest\QUARENTINE\"+ $_.BaseName +("{0:yyyyMMddHHmmss}" -f (get-date)) + $_.Extension}
  </code></pre>
  
  <p>I am working with the command <code>Get-AzureRmDataLakeStoreChildItem</code> where apparently <code>-recursive</code> is not supported. </p>
  
  <p>Can someone help me please?</p>
  
  <p>Thanks</p>