Some are Active Directory attributes and can be accessed through ADSI
and other Exchange attributes can be accessed as WMI objects.

Here is a quick little Microsoft Powershell 1.0 script that will export
all Mailboxes and their sizes on a particular Exchange 2003 server you
specify after ComputerName (just replace server.domain.com) using WMI
objects:

In this example the sort-object command sorts it by the Size property
from largest to smallest and it all gets exported into a CSV file.

get-wmiobject -class Exchange_Mailbox -Namespace
ROOT\MicrosoftExchangev2 -ComputerName server.domain.com | select-object
MailboxDisplayName,StorageGroupName,StoreName,TotalItems,Size |
sort-object -property Size -descending | export-csv MailboxSize.csv


In this example, the where-object command filters the output by Size of
any mailboxes greater than 100MB.  The output from WMI for mailbox size
is already in Kilobytes, so we use a filter already in Kilobytes, so
100000 means ~100MB:

get-wmiobject -class Exchange_Mailbox -Namespace
ROOT\MicrosoftExchangev2 -ComputerName server.ingrnet.com |
select-object
MailboxDisplayName,StorageGroupName,StoreName,TotalItems,Size |
where-object {$_.Size -gt 100000} | Sort-Object -property Size
-descending | export-csv MailboxSize.csv


You can also do this through VBScript, or whatever else you want to use
to interface with WMI.  I suggest looking at something like ScriptoMatic
or WMI Code Creator, to get some idea of how to use some of the WMI
classes.  Plus you can get a basic script to experiment with and modify
as you see fit.  Note that you will need to run either from a machine
that has the Exchange WMI namespaces installed or you will not see the
WMI objects for Exchange (which is an Exchange server or computer with
Exchange System Manager installed).


Outlook Web Access is stored in the multi-valued Active Directory
attribute, protocolSettings as well as POP3 and IMAP4 access.

Take a look at this article on how they're set:
http://arnoutvandervorst.blogspot.com/2008/03/ldap-protocolsettings.html

Note, if protocolSettings is empty (not set) that means OWA, IMAP4, and
POP3 are all enabled.


You can control Outlook Mobile Access on a global level through Exchange
System Manager -> Global Settings -> Mobile Services as well.

Look into ADModify.NET (http://www.codeplex.com/admodify) which can give
you an easy way to change attributes of multiple user accounts.  One of
which is the ability to enable/disable features such as Outlook Web
Access.

For new users you could create a user template and just copy it when
creating a new user.  Or if you create them through scripting, you
should just be able to set the attributes at creation time.


Hope this helps a little.

Thanks,
James

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Aristotle Zoulas
Sent: Tuesday, August 05, 2008 3:03 PM
To: Exchange Discussions
Subject: RE: Exchange Features

Thanks, just a follow up question. How would one query exchange for
say..users with mailboxes of size 'x' or greater. Or list all users with
OWA enabled? Is a third party app necessary? It does not seem that any
of these exchange items are active directory attributes.

Thanks

Aristotle Zoulas



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ed
Crowley
Sent: Tuesday, July 29, 2008 12:17 PM
To: Exchange Discussions
Subject: RE: Exchange Features

Mobile services (Server ActiveSync and Always Up-to-Date) are stored in
the
msExchOmaAdminWirelessEnable attribute.  The 0x1 bit set disables Server
ActiveSync, the 0x2 bit set disables OMA, and the 0x4 bit set disables
Always Up-to-Date.  You can search for this but it will involve a
bitwise
query, which is nontrivial to understand.

The protocols (IMAP and POP) are controlled by the protocolSettings
multivalued attribute.  It's rather cryptic and therefore very hard to
query.  You can read more about it here:
http://gsexdev.blogspot.com/2004/07/disabling-and-enabling-pop3-and-imap
.htm
l

Ed Crowley MCITP MCSE+I MCSE+M MCTS MVP
"There are seldom good technological solutions to behavioral problems."

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Aristotle
Zoulas
Sent: Tuesday, July 29, 2008 11:23 AM
To: Exchange Discussions
Subject: Exchange Features

Hello, running Exchange 2003/Outlook 2003. We normally keep all the
'Exchange Features' (Mobile Services, Protocols, etc.)  off for each
user.
Unfortunately, some users accounts were created with some options
enabled.
The question is, is there any way to query for Exchange Feature status?
S
there any way to turn them all off by say OU or group? I want to avoid
having to check each account. 

Many Thanks.




_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to
[EMAIL PROTECTED]
.com
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to
[EMAIL PROTECTED]
.com
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to
[EMAIL PROTECTED]
com
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to [EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to