SCCM OSD computer name with site location and serial number

jacobccjude 445 Reputation points
2024-07-21T13:15:37.0333333+00:00

Hi family,

I'm asked to auto set the computer name during the OSD process, the name looks like: site location (site code) + serial number. The site location is based on the site gateway. Do you have any idea about this?

Microsoft Security Intune Configuration Manager Deployment
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2024-07-22T01:25:21.3333333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    You can try to use a task sequence step to run a PowerShell script to assigns the site code/location via a custom variable. Similar threads for your reference:

    OSDComputerName Help

    ConfigMgr OSD Device Naming

    Automate Computer Name during OSD in ConfigMgr 2012 with PowerShell

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.