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.

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

0

Comments

4 comments
Date Votes
  • 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
    }
    0
  • 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/

    0
  • Thank you Colby!!

    0
  • FYI, looks like pics and scripts are showing up fine now on the regular page now. Thank you guys for your quick support!

    0