Archive for category 2007
Retrieve all Exchange mailboxes by OU with PowerShell
Posted by Karl Mitschke in 2007, 2010, Exchange on October 15, 2010
A question came up on powershellcommunity.org: ”Hi guys, I’ve been blindsided by the General Manager and need to get a list of all our Mailboxes, as well as the smtp addresses attached to them. I need these to be pumped out per OU (we have a lot) so that I can do costings per OU. […]
PowerShell EWS Managed API Get Calendar Booked Time
Posted by Karl Mitschke in 2007, 2010, EWS, V2 on September 14, 2010
As part of our Full-Cost Maturity Model (FMM), my management chain took the number of employees and created a SWAG of our billable time – they then took these billable hours, and in my case divided them by the number of mailboxes in our organization. – That’s how much it costs for 1 Exchange Administrator […]
Exchange 2007 / 2010 Database Reporting Script
Posted by Karl Mitschke in 2007, 2010, Exchange, V2 on June 6, 2010
In a previous post (https://unlockpowershell.wordpress.com/2010/01/27/exchange-2007-mailbox-database-reporting-script/) I provided a script that we use to report on Our Exchange 2007 mailbox servers. That post garnered a lot of comments because it didn’t work with mount points. We now have a mix of Exchange 2007 and 2010, and I have updated my script – We also now use […]
PowerShell Get Exchange 2007 Database used space
Posted by Karl Mitschke in 2007, Exchange, PowerShell on April 2, 2010
Aaron on http://powershellcommunity.org asked “I need to get a nice simple list of DB sizes based on how big the mailboxes are, not how big the .edb file is. All of my DB’s are on 100gb disks. A particular EDB might be 90 gigs, but the database could have 40 gigs of whitespace in it. […]
Exchange 2007 Mailbox Database Reporting Script
Posted by Karl Mitschke in 2007, Exchange, PowerShell, V2 on January 27, 2010
We use the following script to report on Exchange 2007 Mailbox Database usage. I will be modifying it for 2010 soon – watch this space 🙂 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 […]
PowerShell Get-Mailbox display SMTP addresses
Posted by Karl Mitschke in 2007, 2010, Exchange, PowerShell, V2 on January 27, 2010
A question was posed recently where a user wanted to see a list of all his mailboxes, with their server, primary SMTP address, and any additional SMTP addresses associated with the mailbox. The user specifically wanted ONLY SMTP addresses. With the help of a scriptblock, I was able to solve this on one line: 001 […]
PowerShell Dealing with Active Directory Latency
Posted by Karl Mitschke in 2007, Exchange, PowerShell, V1, V2 on January 8, 2010
Consider the following: 001 002 003 004 005 006 007 New-DistributionGroup -Name "karls test group" ` -SamAccountName "karlstestgroup" ` -DisplayName "Karls Test" ` -Type "Security" ` -OrganizationalUnit "contoso.com/Test/EmailTest" Add-DistributionGroupMember ` -Identity "karlstestgroup" -Member "karlmitschke@contoso.com" If you have latency in your Active Directory, you most likely will get an error on the “Add-DistributionGroupMember” command: Add-DistributionGroupMember : The operation could not be performed because ‘karlstestgroup’ could not be found. Note that […]
Retrieve a list of stale Active-Sync devices
Posted by Karl Mitschke in 2007, Exchange, PowerShell, V1 on December 4, 2009
We allow users who have signed the proper policy to access their Exchange mailbox via Active Sync devices. Users being users, though, we quite often have active sync devices that are registered to a mailbox, but are no longer in use. Users always have a clever excuse like “Oh, i lost that last year”, or […]