I think his end goal is to have a solution like this: Step 1) Enter device name to image Step 2) Script checks to make sure a MAC exists -> If not, prompt to enter one and update SCCM record / Create new record with MAC Step 3) Add record to a collection for imaging
It can be done, but I don't have the code on me right now and don't have the time to write it & test it. On Tue, Apr 8, 2014 at 9:33 AM, Marcum, John <[email protected]> wrote: > I don't understand your end goal here. Seems overcomplicated to me. > > > > > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Stuart Watret > *Sent:* Tuesday, April 08, 2014 9:18 AM > *To:* [email protected] > *Subject:* [mssms] suggestions for automation, client import and checks > > > > Hi, > > We use a customised variant of the Ron's webtools. > > > > One of the tasks it presents to our Tech's is to add a machine to the > collection that can then F12 rebuild. > > > > Despite trying a status filter rule to trigger the clear pxe method, it > never worked and I ended up with a Task Schedule running > every 5 minutes that does work. > > > > This all works well, until we import a record that is incomplete, > i.e. missing the mac address. So in this case the box has been pulled from > a cupboard and the only details sccm has are from the ad discovery. > > > > In this case the record is added to the collection but as there is no mac, > the f12 fails. > > > > What I'd like to happen is this: > > a) at the time of running the script to add to the collection, we query > the record for the mac and tell the operator whether there is one or not. > > > > That alone would be useful, of course if we could then enter the details > to import it that would be better. > > > > I haven't looked at doing this at all, I thought I'd ask first > before re-inventing the wheel, in case somebody has anything already. > > > > Rgds > > Stuart Watret > > Offshore - IT Ltd > > > ------------------------------ > > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you have > received this message in error, please notify the sender by replying to > this e-mail and then delete it from your computer. > > ------------------------------ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you have > received this message in error, please notify the sender by replying to > this e-mail and then delete it from your computer. > >

