A collection of PowerShell related blogs
Yahoo Pipe - PowerShell collection
PowerShell user group site
PowerShell Virtual user groups
IRC - #PowerShell on Freenode
We are beginning to transition to Windows 7 across the Enterprise, which is nice and change is often a time to revisit some basic tools and short comings.
Our support center currently fields basic calls from users on mailbox issues. Currently they are using the Exchange 2007 Admin tools which after about 6 clicks gets them most of the information they need, usually. It does miss mailbox size limits as generally that is set on a store level and on the account screen says merely 'default' and we have different sizes depending on job function.
We also run into the occasional issue of multiple accounts found based on our naming policy those then have to be filtered out based on looking closer at account infomration. I hacked together this quick function to provide basic information with one command and no need for the GUI.
Here's the output
PS:\> Check-MailBox jdoe Display Name: John Doe Mailbox Server: mailserver01 Issue Warning: 219 MB Prohibit Send: 244 MB Storage Limit Status: BelowLimit Current Mailbox Size: 220 MB
A friend had a semi-regular request for the members of a long list of distribution groups (70-80). I hacked together something that dumped everthing to a big text file which he then had to convert to an Excel spreadsheet. Not an optimal solution for automation. I thought this was an excellent time to learn how to put data in Excel.
The script as written takes input from a text file of the group (Distribution lists, but any group would work) but you could change that to a query easily enough.
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.
We have been exporting some mailbox information manually and I was sort of tired of doing it that way. I thought I'd try to make it work with PowerShell to automate it and add some consistency. It took some experimentation and here it is.
It saves to a file, ServerName-Date.csv in the directory it's run from. It has Display Name, Storage Group Name, Store Name, Mailbox size (in kb like ESM) and Date Discovered Absent in DS (which is short for when the Active Directory account the mailbox was associated was deleted).
I learned this neat trick with PFDAVAdmin last year. We had a performance issue with our Exchange servers and one thing I learned was that people not in cached mode with high item counts in their folders affected everyone on the servers performance. If you only had one or two, then not so bad, if you had a lot then not so good. You can identify potential people with the ExMon tool and Performance Troubleshooting Analyzer. This is a server side part of an earlier Outlook tips post where you can find the folder item count recommended numbers.
Recently we had an perceived performance issue with our Messaging environment. Ultimately it came down to high DiskIO and a large number of people with high Item Count in top level folders.
This is a collection of tips that can help improve/mitigate MS Outlook’s performance with an Exchange server. Complete Outlook/Exchange performance relies on a lot more.