pdq_deploy_invoke_command.ps1 not running in MDT task sequence
My apps aren't being pushed by PDQ to a newly imaged laptop. This is the message I get:
If I go to our PDQ Deployment Server and push apps to the newly imaged laptop, it works just fine, so I feel it's something in the script.
This is what my script looks like, I took out my deployment server for security reasons.
netsh advfirewall set allprofiles state off
psexec.exe \\(my pdq deployment server) -h -accepteula ipconfig /flushdns
psexec.exe \\(my pdq deployment server) -h -accepteula pdqdeploy.exe Deploy -Package
"New PC Deployment" -Targets $env:COMPUTERNAME