Script Samples
There are times when I spent an inordinate amount of time looking for just the right syntax for a command or even the correct command to get the job done. Here are four I put to use in the last few months…
Change Printer Spooler Service Recovery options to Restart
sc failure spooler reset= 60 actions= restart/600/restart/600/restart/600
Backing up [...]
How Big are those Mailboxes
One thing I truly miss about Exchange 2003 is the list of mailbox sizes that were easily accessible in the GUI. But things must move on and the display in the Exchange Management Console for both 2007 and 2010 lack the ability to populate and view this information.
Exchange Management Shell to the rescue! If you [...]
Free PowerShell Editor
Yesterday I began to really dive into a new user script (which uses Exchange Management Shell) to bring it up to date and include more fields and features. As the script complexity grew, Notepad was no longer cutting the mustard.
I thought I’d be using Notepad++ or TextPad, both fine in their own right, but instead [...]
Service ‘MSExchangeTransport’ failed
A few months ago I had an Exchange Server 2007 install stop cold, caughing up this error:
Error:
Service ‘MSExchangeTransport’ failed to reach status ‘Running’ on this server.
Apparently if you disable IPv6 on a Windows Server 2008 the error will occur. Not to be picky, but how many networks are actually using IPv6 and why is it installed by [...]
Exchange 2007 SP2
Yes! Exchange 2007 SP2 is finally available. I can’t wait to install it…a few weeks from now. Although I’m looking forward to some new features (Windows Backup plug-in), I will wait to see if there are any problems with the service pack first.
But for those of you who are adventurous or have test systems to [...]
Upgrading the Default Email Address Policy
One of the tasks to perform before removing the last Exchange 2003 server in a 2007 migration is upgrading the Default e-mail address Policy.
The method for upgrading the policy is to fire up the Exchange Command Shell and run the following command:
Set-EmailAddressPolicy “Default Policy” -IncludedRecipients AllRecipients
You may recieve the following error: Set-EmailAddressPolicy:The recipient policy “Default [...]
ActiveSync, Now Without Attachments
After migrating users from Exchange 2003 onto our 2007 cluster, we found that attachment viewing stopped working in ActiveSync.
The fix is to delete the ActiveSync profile on the phone (and maybe on the server, I did this via Outlook Web Access just to be sure) and then create a new one. There is a security policy on [...]
Assigning Certificates in Exchange 2007
I’ve wasted too much time in the past looking this information up and still have to dig around for the right command. I don’t imagine I’m the only one, so here’s what I’ve gathered together…
When manipulating the certificates at the command line (this article assumes you’re running all your commands within an Exchange Management Shell), it’s [...]
Availability Error
This error kept creeping up on our front-end Exchange 2007 server:
Event ID: 4011
Process 6168[w3wp.exe:/LM/W3SVC/1/ROOT/EWS-1-128806932311406509]: Configuration for forest corp1.contoso.com was not found in Active Directory. Run the Add-AvailabilityAddressSpace command in the Exchange Management Shell for an Exchange Server 2003 Active Directory forest.Luckily the answer was on theTechNet site, I just ran this using the EMS…
Add-AvailabilityAddressSpace -ForestName Contoso.com -AccessMethod PublicFolder
Soon [...]
Hub Transport Warning during Exchange 2007 Install
This is sort of a bogus warning, but it comes up when installing Exchange 2007 integrated with Service Pack 1.
“Setup cannot detect an SMTP or Send connector with an address space of ‘*’.”
A quick search came up with a Microsoft KB article stating you need to add an SMTP Send Connector after setup. This task always [...]