title: Powershell in an SSIS Job
body: <p>I am trying to run a powershell to create a .csv file. I have executed the script several times in powershell but I am having difficulty executing it in SSIS. I have an Execute Process Task control. The executable is pointing to my powershell .exe, and the arguments are the path and filename.  When it executes I get an error:  </p>
  
  <blockquote>
    <p>[Execute Process Task] Error: In Executing
    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
    "-ExecutionPolicy ByPass -command".
    'c:\MIMPasswordImport\PowerShellScript\MIMImport.ps1'" " at "", The
    process exit code was "1" while the expected was "0".</p>
  </blockquote>
  
  <p>Any help would be appreciated.</p>