Scripting Blog

A place to learn about PowerShell and share stories of automation

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 ...

Remotely Use the Exchange 2010 PowerShell Cmdlets

  Summary: Learn how to remotely use the Exchange 2010 Windows PowerShell cmdlets in this article written by two authors and Exchange experts.   Hey, Scripting Guy! I have Microsoft Exchange 2010 installed on our network, and I would like to be able to use Windows PowerShell to manage it. In the past, I had to open up a Remote ...

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 ...

How Can I Attach a File to an Email Sent Using CDO?

Hey, Scripting Guy! I understand how to use CDO to send an email, but how do I include an attachment with that email?-- RT Hey, RT. And, incidentally, thanks for this question. At least one of the Scripting Guys spent most of his Thanksgiving weekend eating and, on the rare occasions when he wasn’t eating, playing tackle football with a ...

How Can I Get a List of Exchange Servers Assigned to My Users?

Hey, Scripting Guy! How do I get a list of the Exchange servers (msExchHomeServerName) assigned to the users in an OU?-- BG Hey, BG. As you probably already figured out, you have two issues: you need to get a list of all the users in an OU, and then you need to figure out which Exchange server they’ve been assigned. Believe it or not, this ...