Forum Discussion

Pradeep_Bansal's avatar
Pradeep_Bansal
Copper Contributor
Aug 07, 2019

ConfigMgr : Create New computer programattically for OS deployment

I am using below code to create a new computer in SCCM.

 

Dim connection As WqlConnectionManager = Connect(siteServer)

connection.ExecuteMethod("SMS_Site", "ImportMachineEntry", inParams)

 

Further to this, looking to process the request for OS deployment too.

 

Do I need to add the data discovery record (DDR) as well to SCCM site, to process the deployment instantly? Or creating new computer itself will take care of updating DDR records in the database as well.

 

Resources