title: ADF - Pipeline with powershell script
body: <p>I have written a small Powershell script in order to retrieve some information from my organization and export this into a .csv file:</p>
  
  <pre><code>Get-ADUser -Filter {company -Like "*COMPANYNAME*"} -Properties department | Select sAMAccountName, department, userprincipalname | export-csv -path C:\temp\test.csv
  </code></pre>
  
  <p>My aim is to create a pipeline in Azure Data Factory, in order to launch this script and export the csv into a dataset, so that I can get all the data within SQL Azure.</p>
  
  <p>How could I create the pipeline and insert this script?</p>