PowerShell

Exchange Server 2007: Bulk creation of mailboxes using Exchange Management Shell

Bulk creation of mailboxes (and the accompanying user accounts) in Exchange Server 2003/2000 involved some elaborate scripting effort. This task can now be done fairly effortlessly, thanks to the Exchange Management Shell (EMS). The Shell can very easily import/use CSV files saved from a spreadsheet or text editor and create the mailbox-enabled users. Here’s how. […]

More →

HOW TO: Get PowerShell version info

While the command ver (short for version) could get you the version info at a DOS/Windows command prompt, and winver does it in the Windows GUI, if you’re stumbling to find the version of Windows PowerShell installed on your computer, the command (cmdlet is the correct and official PowerShell term) you’re looking for is Get-Host. […]

More →

Message Tracking from the command line in Exchange 2010 and Exchange 2007

I’ve forever envied folks (including some colleagues— you know who you are… ) on the Linux/Unix side of things who were able to parse text log files generated by MTAs like Postfix/SendMail/EXIM in a fraction of the time it takes one to fire up Message Tracking Center on Exchange and search for a message. I […]

More →

PowerShell RC2 and Exchange Server 2007

PowerShell Release Candidate 2 was just released and is available for download here. If you’re using Beta 2 or any other build of Exchange Server 2007, don’t rush to install this just yet. Exchange Management Shell – Exchange Server 2007’s command-line management interface that’s built on top of Windows PowerShell – isn’t compatible with RC2 […]

More →

Install anti-spam agents on Hub Transport server

If you’re using Exchange Server 2007 in a topology with an Edge Transport server, the anti-spam agents – Connection Filtering, Content Filter Hub Transport node in the EMC. After the antispam agents are installed, you can see the Anti-spam tab in Organization Configuration | Hub Transport node in EMC. If your console was open during […]

More →

Using Consolas as the Windows console font

If you don’t like the font choices (or lack thereof) in Windows console, or want Consolas (a new font available by installing IE7 or Windows Vista) as your console font, you can add it as an option by going to HKLM\Software\Microsoft\WindowsNT\ CurrentVersion\TrueTypeFont. Scott Hanselman shows you how in this blog post. Question for the Windows […]

More →

Ready to be an Exchange Ninja?

Microsoft finally did something I’ve been wanting and planning to do (but never quite getting to it) – yes, Exchange Server 2007 now has a wiki! And luckily in this case I’m pleased with what they’re calling it – ExchangeNinjas.com! If you aren’t familiar with wikis, these are web sites that allow collaborative publishing – […]

More →

More about the out-html | out-ie functionality

Just heard back from Vivek – apparently this functionality is actually provided by a couple of commandlets that he blogged about earlier – you can read it here. Save the following code in a file called out-ie.msh in \Program Files\Microsoft Command Shell\v1.0 folder: $ie = new-object -com InternetExplorer.Application$ie.navigate(“about:blank”)while ($ie.busy) { sleep 1 }$ie.visible = $true$ie.document.write(“$input”)# […]

More →

PowerShell video presentation by Vivek Sharma & Mihai Jalobeanu

Did you miss Vivek & Mihai’s excellent and very well-received presentation at TechEd in Boston? No worries if you didn’t make it – the product team is doing a great job putting this and a lot of other content on the Exchange team blog. This one titled “Exchange Management Shell in Action” gives you some […]

More →

Awesome Powershell presentation by Vivek Sharma and Mihai Jalobeanu

Just got out of a breakout session titled “Microsoft Exchange Server 2007: Management Shell and Scripting” by Vivek Sharma & Mihai Jalobeanu. Vivek & Mihai provided a great technical deep dive into Powershell (aka “Monad”) and how to use Exchange Management Shell (a layer on top of PowerShell) to manage Exchange Server 2007. The session […]

More →