Software Deployment Question

Deploying ps1 with k1000 vs 2000 in 3.7

01/06/2016 1030 views
Im attempting to run a powershell script from the k1000 and have been unsuccessful I have tried all the tricks listed in the forums. Wondering if it can be deployed from 2000 as a task without needing to install the OS. I have set the restriction policy to unrestricted the files land but the script never runs. Thanks for any answers you can provide.
Answer Summary:
2 Comments   [ + ] Show comments


  • Hello,

    what happen if you launch manually the powershell script? does it work?
    Can you describe better how you are trying to deploy it?
    Marco - StockTrader
  • I followed this guide


Answer Chosen by the Author

Got it !! Had to add a step to xcopy the ps1 to C:\temp and the script is now working it would not run from the folder its downloaded to from the K1000 thanks for the help !!
Answered 01/07/2016 by: Lotus8
Senior White Belt

All Answers


What's your command to run the PowerShell script?

Normally the Execution Policy is set to restricted, this means no scripts will run.  The command I use to execute PowerShell scripts on a vanilla system (with Execution Policy Restricted) is below. This means you can run script and not modify the execution policy, which I recommended. You still need administrative privileges of course.

powershell.exe -ExecutionPolicy Bypass -File NameOfYour.ps1


  • You will need to specify the full path to the script.
  • Don't copy and paste from the internet, you might get caught out by quotes "
    these are bad quotes:



A better practice would be to change the Execution Policy to AllSigned, and sign your scripts, but you need a PKI setup for that, and that's £ to do it properly.

Answered 01/07/2016 by: rileyz
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ