Scripting Question

SCCM 2012 OSD task Deployment | Machine name query

04/07/2014 2492 views

Hi All,

In the OSD task for SCCM 2012(win7 deployment) ,I want to check the machine name apply some checks to go ahead or abort the OSD installation..

Any one have any suggestion for this?

This check will be done as the first task in OSD task sequence.

Thanks in advance


1 Comment   [ + ] Show comment


  • What about creating a restart task with a WMI query like
    select * from Win32_ComputerSystem WHERE Name LIKE "MININT%"
    If the computer does not get a proper name it will reboot.
    But I think you should do the check after Windows settings is applied.

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ