Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Run local script as part of a package

Still a PDQ newbie but I couldn't find anything via the search, is it possible to have one of the steps of a package run on a local pdq machine and not the remote machine is that possible?

example: step 1) Run a powershell script on the PDQ machine Step2) Run a powershell script on the targeted machine.



1 comment
Date Votes
  • I too would like this feature as a possibility. I have a use case right now where it would be helpful to run a script locally as a step on the PDQ server during automated Windows 10 Upgrades using MDT. Were PDQ able to run "out of band" from the actual deployment, I could monitor MDT progress using ODATA. Where my package fails today is that the powershell script runs on the target device and then MDT reboots it. So, PDQ thinks the package failed. I'm using manual sleep timers to get around this which is not full proof.

    I'm considering writing a powershell script that uses ps remoting into the PDQ server to kick off a job but then you lose some of the benefits of running deployments right from within PDQ (I.e. selecting my target devices).