Prev: RSG
Next: Unable to Create Mailbox in Exchange Server
From: mrhanseide on 23 Aug 2007 16:19 How can i list out all the users in a AD that has enabled outlook mobile access on exchange in a vbs script? It Should be possible, but i have problem finding it out... Hans Eide
From: Ed Crowley [MVP] on 23 Aug 2007 19:03 You need to find all users in AD with the attribute msExchOmaAdminWirelessEnable having its 0x2 bit clear. (The bit being set means the feature is disabled, which is backward from what I would infer from the attribut name being "...Enable"; go figure.) Because we're looking for a single bit being clear, I can't see a way to do this in a single LDAP query, so what I would do is query for all users (or some subset you want) and then iterate through the recordset and look at each value of this attribute for the desired bit setting. -- Ed Crowley MVP - Exchange "Protecting the world from PSTs and brick backups!" <mrhanseide(a)gmail.com> wrote in message news:1187900372.939544.246830(a)x35g2000prf.googlegroups.com... > How can i list out all the users in a AD that has enabled outlook > mobile access on exchange in a vbs script? > It Should be possible, but i have problem finding it out... > > Hans Eide >
From: Ed Crowley [MVP] on 23 Aug 2007 23:33 Upon further reflection, I figured out how you can execute such a query. It should look something like this: (&(objectClass=user)(homeMDB=*)(!(msExchOmaAdminWirelessEnable:1.2.840.113556.1.4.803:=2))) -- Ed Crowley MVP - Exchange "Protecting the world from PSTs and brick backups!" "Ed Crowley [MVP]" <curspice(a)mvpsnospam.org> wrote in message news:OFOiWnd5HHA.3400(a)TK2MSFTNGP03.phx.gbl... > You need to find all users in AD with the attribute > msExchOmaAdminWirelessEnable having its 0x2 bit clear. (The bit being set > means the feature is disabled, which is backward from what I would infer > from the attribut name being "...Enable"; go figure.) Because we're > looking for a single bit being clear, I can't see a way to do this in a > single LDAP query, so what I would do is query for all users (or some > subset you want) and then iterate through the recordset and look at each > value of this attribute for the desired bit setting. > -- > Ed Crowley > MVP - Exchange > "Protecting the world from PSTs and brick backups!" > > <mrhanseide(a)gmail.com> wrote in message > news:1187900372.939544.246830(a)x35g2000prf.googlegroups.com... >> How can i list out all the users in a AD that has enabled outlook >> mobile access on exchange in a vbs script? >> It Should be possible, but i have problem finding it out... >> >> Hans Eide >> > >
|
Pages: 1 Prev: RSG Next: Unable to Create Mailbox in Exchange Server |