MDT and PDQ - script missing from support page
Hi guys,
We finally got our PDQ server up and running and I'm at the point where I want to integrate PDQ with MDT.
I'm using the page below as a reference, but it looks like the links to the powershell scripts are missing. I tried multiple browsers and PC's at home and work but it's just blank under "The script:" about halfway through the page. Can someone provide the script for me?
https://www.pdq.com/blog/mdt-imaging-in-pdq-deploy/
Thanks!
Mike
-
Thank you for letting us know! In the meantime, here are the scripts:
PSExec:
netsh advfirewall set allprofiles state off
ipconfig /registerdns
psexec.exe \\pdq.host.fqdn -h -accepteula ipconfig /flushdns
psexec.exe \\pdq.host.fqdn -h -accepteula pdqdeploy.exe Deploy -Package "New PC Setup" -Targets $env:COMPUTERNAME
Start-Sleep 30
while (Test-Path "C:\Windows\AdminArsenal\PDQDeployRunner\service-1.lock") {
Start-Sleep 30
}Invoke-Command:
netsh advfirewall set allprofiles state off
ipconfig /registerdns
Invoke-Command -ComputerName pdq.host.fqdn -ScriptBlock {
ipconfig /flushdns
pdqdeploy.exe Deploy -Package "New PC Setup" -Targets $args[0]
} -Args $env:COMPUTERNAME 2>&1
Start-Sleep 30
while (Test-Path "C:\Windows\AdminArsenal\PDQDeployRunner\service-1.lock") {
Start-Sleep 30
} -
Looks like the screenshots are missing too. Here's an archived version: https://web.archive.org/web/20200919153313/https://www.pdq.com/blog/mdt-imaging-in-pdq-deploy/
Please sign in to leave a comment.
Comments
4 comments