I have written a VBScript script that loops all the objects in AD and writes (classes user, contact, group only) .sn, .givenName, .mail, .title, and ..telephoneNumber attributes to an .ldif file. I have limited the output to include only those objects that have data in the .mail attribute. I would like to further limit it to only those objects that appear in the Exchange GAL. The intention is to create an automated "duplicate" GAL that can be imported into third-party email clients. After doing some testing, I'm finding that the msExchHideFromAddressLists isn't being populated for all objects. Many of them are appearing as empty values. The good news is that so far all objects that I can find that are hidden are correctly populated. Since I can't rely on the msExchHideFromAddressLists attribute, does anyone know another way I could achieve my goal? Thanks much for your time.
Sounds like your scripts working as planned as you only have to ignore objects with the hide attribute set to true? "Garny" wrote: > I have written a VBScript script that loops all the objects in AD and writes > (classes user, contact, group only) .sn, .givenName, .mail, .title, and > .telephoneNumber attributes to an .ldif file. I have limited the output to > include only those objects that have data in the .mail attribute. I would > like to further limit it to only those objects that appear in the Exchange > GAL. The intention is to create an automated "duplicate" GAL that can be > imported into third-party email clients. > > After doing some testing, I'm finding that the msExchHideFromAddressLists > isn't being populated for all objects. Many of them are appearing as empty > values. The good news is that so far all objects that I can find that are > hidden are correctly populated. > > Since I can't rely on the msExchHideFromAddressLists attribute, does anyone > know another way I could achieve my goal? > > Thanks much for your time. > >
That is just it. I can't assume the objects whose ..msExchHideFromAddressLists attribute is empty is an object that is publishable. I'm not even sure why they are empty. I only know of the few dozen I've checked that are marked as 'true' they were all correct. Because of FERPA laws I can't allow even a single email address to slip out that is under restriction. So I need to find an attribute that is more reliable. Anyone have any ideas as to why the .msExchHideFromAddressLists attribute is empty? It should at least be set to FALSE if not specifically set to TRUE under Exchange. Thanks again for any ideas. "Tim Green" wrote: > Sounds like your scripts working as planned as you only have to ignore > objects with the hide attribute set to true?