Monday, December 14, 2009

Exchange 2007 Management Shell Reference

Excellent Reference document broken down by logical groupings.
http://technet.microsoft.com/en-us/library/bb676402(EXCHG.80).aspx

Wednesday, December 2, 2009

Exchange 2007 and Virtualization Support Policies

Exchange 2007 and Virtualization Support Policies

http://technet.microsoft.com/en-us/library/cc794548.aspx

Monday, November 30, 2009

View Exchange 2007 Mailbox Sizes

Get-MailboxStatistics -Server SERVERNAME sort-object TotalItemSize -Descending ft DisplayName,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}},ItemCount

Wednesday, November 18, 2009

Make Bulk Changes to Mail Contacts in Exchange 2007

Make List

Bulk changes can be done using the Import-CSV cmdlet. First you need a .csv file to import from. The CSV file only needs to contain the Identity field and the fields you want to update.

This example uses the EmailAddresses field. We used this method to fix an oops. The cmdlet Get-MailContact Set-MailContact -EmailAddresses $_.PrimarySmtpAddress resulted in a removal of all EmailAddresses.

We used Get-MailContacts -ResultSize unlimited Export-CSV -path C:\Exports.csv cmdlet to get a list of all the contacts. In Excel, we copied information from the ExternalEmailAddress field to populate a column with header EmailAddresses.

The CSV file looked similar to:

#TYPE Microsoft.Exchange.Data.Directory.Management.MailContact
Identity,EmailAddresses
domain.local/Contacts/Bob Smith,Bob.Smith@domain.com

Import

To import, saved the file to the C: on an Exchange server. From Exchange Management Shell ran

Import-CSV -path C:\Import.csv ForEach-Object -Process {Set-MailContact -Identity $_.Identity -EmailAddresses $_.EmailAddresses}

References

Book Config Exchange 2007 70-236 p.265

Exchangepedia.com
http://exchangepedia.com/blog/2006/11/exchange-server-2007-bulk-creation-of.html

Export-CSV
http://technet.microsoft.com/en-us/library/dd347724.aspx

ForEach-Object
http://technet.microsoft.com/en-us/library/dd347608.aspx

Get-MailContact
http://technet.microsoft.com/en-us/library/bb124717.aspx

Import-CSV
http://technet.microsoft.com/en-us/library/ee176874.aspx

Set-MailContact
http://technet.microsoft.com/en-us/library/aa995950.aspx

Friday, November 6, 2009

Updating Legacy Exchange 2003 Email Address Policies in Exchange 2007

Symptoms

During decommission of Exchange 2003 server after upgrade to Exchange 2007 environment, existing email address policies cannot be edited.

First converted policy to Exchange 2007 compatible by running Set-EmailAddressPolicy "Default Policy" –RecipientFilter AllRecipients.

On attempt to edit policy from Exchange Management Console received error message.


Solution

Remove old attributes from object using ADSIEdit.

  1. Open ADSIEdit on a domain controller.
  2. Open Configuration – CN=Configuration,DC=domain,DC=local – CN=Services – CN=Microsoft Exchange – Organization name – CN=Recipient Policies.
  3. Double-click the policy that is causing the errors.
  4. Examine disabledGatewayProxy attribute.
  5. Remove information matching template information from the error message.



Thursday, October 29, 2009

Windows Multi-homed Routing

http://blogs.technet.com/networking/archive/2009/04/24/source-ip-address-selection-on-a-multi-homed-windows-computer.aspx

Monday, October 26, 2009

DNS testing tools

Added a nice website to links that has easy to use web tools for testing DNS records including copy/paste header for easy to read format.
http://www.mxtoolbox.com