Skip to content

New PowerShell Based SCCM OSD Frontend

Featured Replies

On 9/20/2025 at 8:37 AM, Abnrangerx67 said:

HI, love it so far, and would be giving it try. We currently use the UDI from MDT, and with MDT going away, it is time for something new. In the interim, I built a new package using the scripts from MDT, then I download the package to a central location on the device during OSD, then just use command line steps to run the same commands to the scripts that MDT was using. So far works great, but, now that VB scripts are being deprecated, time for another switch, ugh. Which put me on the search and to your option. I am mediocre when it comes to programming, but I was able to leverage PowerShell script to handle some of the logic such as if the tech checked the box for LTSC, then another GUI would show, but only gave the option to image a specific device type based on its function. I will try and incorporate some of what I have into yours and see how it goes. One other thing I do is use a device name generator built with PowerShell that pulls the last 5 of the serial, then appends based on the location the device belongs to, it also checks AD to make sure device does not already exist. I have built some WPF with PowerShell, so I understand some of the coding. I just downloaded VSCode, so I taking the plunge to learn this on the fly. I hope I can ping you for ideas or solutions. Thanks

So far got this work (outside of the TS in regards to the GuI popping up and all the controls doing what it needs to do. Next step is seeing how it works in the TS itself. I added things like domain join, auto generating computer names if a custom one is not typed in the textbox, etc. Only challenge and not a big deal, is getting the image show after the import. I tried the base64 approach but no bueno. I will provide an update and share my challenges and workarounds. One key tip if not already figured out, make sure and put your GUI/frontend step AFTER the drive partitioning step if using this as a package. 

  • 3 weeks later...

This thread really got me to the point I learned so much, and created a never knew before technology. I was able to build a whole new frontend for our OSD. I have attached what I created, hope it helps anyone who wants to do the same, and I am excited for suggestions for improvement. I changed the background to something stock and removed our company one, but the concept is the same.

OSD FRONT END BASE TEMPLATE-shared.ps1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.