Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Check the Status of Exchange Databases

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to simplify checking the dirty status of Exchange Mailbox databases.  Hey, Scripting Guy!, I have a large number of Exchange servers, and when I do a database restore, often I am unable to mount the database because it says that the database is dirty. So how...

Use PowerShell to Document Exchange Server Prior to Upgrade

Summary: Use Windows PowerShell to document your Exchange Server 2003 environment before you upgrade to a newer version of Exchange Server. Hey, Scripting Guy! How can I use Windows PowerShell to help me prepare for a Microsoft Exchange Server migration? —BN Hello BN, Microsoft Scripting Guy, Ed Wilson, here. Today we will take a ...

Weekend Scripter: Use PowerShell to Simplify a Large-scale Exchange Migration

  Summary: See how to use Windows PowerShell to simplify a large-scale Microsoft Exchange server migration project.   Microsoft Scripting Guy Ed Wilson here. Today I am turning the keyboard over to Phil Braniff, one of my former Windows PowerShell workshop attendees, as he talks about a large Microsoft Exchange migration. Take it ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/14/08)

Troubleshooting a Script That Uses the TrimStart Method   Hey, Scripting Guy! Greetings from an old VBScript guy. I have a problem with a Windows PowerShell script. It returns the unexpected result of "RANSFER" instead of the desired result of "\TRANSFER". One more thing: How can I use the TrimStart method to cut exactly what was given ...

How Can I Add an Email Address to the proxyAddresses Attribute?

Hey, Scripting Guy! How can I add an email address to the proxyAddresses attribute without overwriting all the existing attributes?-- DH Hey, DH. For those of you who aren’t too familiar with the proxyAddresses attribute (and, alas, that includes the Scripting Guys) proxyAddresses is an attribute added to Active Directory by Microsoft ...