skissinger
Posts: 2293
Score: 145 Joined: 9/13/2001 From: Sherry Kissinger Status: offline
|
In the script, the line containing "SELECT ResourceID from sms_r_user Where Name LIKE ""%" + Change it from name LIKE to name = (PS: Do I want to ask why you are targeting users? Maybe not. You know that makes it difficult (close to impossible) to remotely troubleshoot SW Distribs using existing 3rd-party tools like Roger Zanders' Client Center. And you know that tracking licensing will be a fun job. 1 person could have the licensed copy of Visio, so they log in all over the department "so everyone can have it". Nope, I'm not going to ask. Just perhaps I'll suggest you think about targeting machine names, instead of users to make you life less hellish.)
_____________________________
mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com My Blog Microsoft MVP - ConfigMgr
|