Exchange current logged on cache settings

So, how many of your Exchange 2003 users are using cached mode? This script can pull that information through WMI for current logged on users.

Reference here for the column values information.

#        Name:  get-exchangeClientMode.ps1
#      Author:  Steven Peck
#        Date:  01/07/2007
# Description:  Exchange 2003 list Display Name, Client Mode, Client Name, and Client Version of
#                currently logged on users.
#               Outputs to cvs file by servername and date.
#      Source:
#

# Get date for file name
$day = Get-Date -UFormat "%Y%m%d"

# Gets data through WMI from specified Exchange mailbox servers
$computers = "server001","server002","server003"
foreach ($computer in $computers) {
  Get-Wmiobject -namespace root\MicrosoftExchangeV2 -class Exchange_Logon -computer $computer | sort-object -desc MailboxDisplayName | select-object MailboxDisplayName,ClientMode,ClientName,ClientVersion | Export-Csv -Path $computer-$day.csv
}

To find other interesting things to report on you can explore with

PS C:\support\scripts\powershell\get-exchangeMailbox> Get-Wmiobject -namespace root\MicrosoftExchangeV2 -class Exchange_Logon -computer SERVERNAME | get-member

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <blockquote> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options