--->Yes,we could set up a read only DC on our DP to reduce the query time.
--->As we mentioned we also could use CSV file to import multiple computers in our SCCM.
Here is a similar situation we may want to see it:
how-can-i-import-computers-into-sccm-2012-using-a-file
Note: this is non-official article just for your reference.
--->There are could be same name when we query at the same time so we need to add one lock variable to limit the action to wait for the previous action.The main logical may like this:
1.We need to prepare one txt file we prepare previously:
The content may like this:
"Locked = False ,Sequence Number = 0002"
2.We open our script to read this txt file every time and plus the computer name,the structure may like this,we could add more details on our own:
We define the status as two types:false(continue) and true(wait for 5 sec).
===start->read from txt file->if locked=false->{ get computer name,query AD, confirm, pass variable to TS}->Sequence Number ++1 and then save to file.
===start->read from txt file->if Locked = True then save file and ->{sleep 5 seconds go to start}
Have a nice day!
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.