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.

pdq automation after sccm computer image

Is there a way to automate a pdq deployment after I image a station with sccm? I have tried to place the computer into a particular AD OU and schedule a package to that OU but I have not been successful. ANyone have any ideas to help?

0

Comments

2 comments
Date Votes
  • So, we no longer use SCCM for imaging (we use a home brew of PXELINUX and WinPE) but I do have PDQ packages automatically queue post imaging.

    You need to use the PDQ commandline and run remote powershell commands during sysprep. It's quite complicated and you have to use invoke-command and have stored encrypted creds to run the commands on the server from the client machine. But...it does work!

    0
  • We use SmartDeploy instead of SCCM, but on our golden image I created a text file: C:\imaged\imaged.txt. Then in Inventory I have a scan profile (heartbeat and 7 day old scan) that scans for files in the C:\imaged folder. If it finds a computer with imaged.txt, Inventory puts the computer into a dynamic collection, and then I have a package on a 5 min schedule in Deploy that fires off our "New Computer" package (which includes a lot of nested packages and other steps). Part of the "New Computer" package is powershell command to delete the C:\imaged folder. Then after the deployment is done, the same scan profile runs that find the imaged folder is gone and takes the computer out of the dynamic collection.

    It works pretty flawlessly we've used it hundreds of times during our company-wide Windows 10 upgrade project earlier this year.

    0