Hi Stuart, I have added an 'OSD' button to the webtools which allows to enter a machine name, mac address and the desired OS to deploy. Before adding to the collection I do some short check: macAddress = Trim(txtMACAddress.value) If Len(macAddress) = 0 Then MsgBox "This is a new Machine, please enter MAC Address", vbExclamation, "OSD" Exit Sub End If If Len(macAddress) <> 17 Then MsgBox "Please enter valid MAC Address (aa:bb:cc:dd:ee:ff)", vbExclamation, "OSD" Exit Sub End If macAddress = Replace(macAddress,"-",":") maybe that gives you an idea for improvements
Regards, Reto From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Stuart Watret Sent: Dienstag, 8. April 2014 16:18 To: mssms@lists.myitforum.com 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 -- This e-mail message and any attachments are of a confidential nature. The information is intended for the named addressee exclusively. If you are not the addressee, you may not electronically disseminate, otherwise distribute or copy this e-mail message, and you may also not use it for any purpose. Please notify the sender immediately if you have received this e-mail message by mistake, and delete this e-mail message and its attachments. E-mail transmissions could be lost, intercepted, corrupted or destroyed. They could arrive late or incomplete, or could even contain viruses. Confidentiality and reliability of the information so transmitted cannot be guaranteed. Rothschild Bank therefore does not accept any liability or responsibility for errors or omissions regarding the information transmitted through e-mail. If verification of the information transmitted through e-mail is required, please ask for postal delivery by contacting Rothschild Bank.. This e-mail message is provided for information purposes only. It should not be construed as an offer or solicitation to buy or sell any financial instruments or services. It is not to be made available to US persons and is not to be circulated within the USA.