Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

Scripting to Search / Add Computer & MAC Address to Computer Association

$
0
0

We are preparing ZTI to setup new workstations and install software automatically.  Currently the depot will send a document containing the Workstation name and MAC Address and advise which collection to add the workstation too.  I've been task to create a web application to allow our depot members to automatically submit this into SCCM avoiding the "middleman".

I can add a workstation name to a collection without problems.  The issue I'm facing is the Computer Association part.  I need to 1) Check to see if the Computer or MAC Address already exists

2) IF not then add that computer & MAC Address in the Computer Association.

by scripting where can I first search to see if the MAC Address or CPU exists?  SMS_R_Systems?  Then what method do I call to add the computer & MAC Address (format:  workstation name,MAC Address).

We are currently using 2007, but will be migrating over to 2012 in the next few months.

Thank you,

Edmound 


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>