See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Evan Dodds - Microsoft Exchange Server Blog
Exchange, Exchange administration stuff, and other assorted ramblings
Exchange 2003 SP1
Exchange 2003 SP2
Browse by Tags
Evan Dodds - Microsoft Exchange Server Blog
Solving the ViewEntireForest problem
In this recent post , I blogged about Scope and the ViewEntireForest property of $AdminSessionADSettings variable. In particular, one thing I said in passing bears a bit more explanation: When you're in Forest scope, the admin session talks to a GC for all reads (to get the whole forest view),...
14 Mar 2007
Interact 2008 - April 8-10, 2008
I just heard that (Exchange VP) Terry's going to be giving the keynote at Interact this year, and he's promised the first real public details about ExchangeLabs ! Sweet... this is exciting stuff! Plus -- Robert and Andrew will be presenting the PowerShell Automation talk, so that alone makes the conference...
17 Mar 2008
Exchange Demos with PowerShell - Grand Finale/Provisioning
Continuing from the previous post , in this final part of the demo I explain how I provisioned the environment, and demonstrated a script to "rip out" the environment and then effortlessly "regenerate" it again: [PS] C:\Program Files\Microsoft\Exchange Server\Scripts\TR4>Get-MailboxDatabase...
13 Feb 2007
Exchange cmdlets from C#
Vivek had originally posted about how to do some basic Exchange cmdlet access from C# -- several months before E2k7 released: Calling Exchange Cmdlets from .Net Code . However, by the time we released, some things had changed in the technique and Vivek's examples were out of date. Recently, someone...
4 Apr 2007
Quest's QAD Cmdlets
I'm generally very focused on Exchange and our PowerShell cmdlets, but I had an opportunity this week to attend a demo session for the Quest "ActiveRoles Management Shell" cmdlets, one of several PowerShell related tools from Quest . This suite of Cmdlets seems primarily targeted to supporting the Quest...
23 Jun 2007
Scriptacular Demo Pack 2007
Finally, I'm able to "scoop" the EHLO team blog on something. And all it took was Nino being OOF to vacation while I am not! :) Last night Vivek posted the much-anticipated "Scriptacular Demo Pack" for Exchange Server 2007 to his blog . This is a great ZIP file with Powershell scripts you've proably...
22 Dec 2006
Exchange Demos with PowerShell - Basics
The first part of the demo I describe in my previous post was to introduce the crowd to the basics of interacting with the Exchange cmdlets in PowerShell: [PS] C:\Documents and Settings\Administrator\Desktop>Get-ExchangeServer Name Site ServerRole Edition AdminDisplayVersion ---- ---- --...
8 Feb 2007
Recently I've gotten several questions about the "-ApplyMandatoryProperties" parameter on Set-Mailbox. Here's a quick overview of this parameter - what it does, why it does it, etc. What does ApplyMandatoryProperties parameter do? It applies the mandatory properties to the mailbox. Ok then,...
28 Feb 2007
$AdminSessionADSettings and you
Jared has previously posted twice on topics that skirt around the issue of "scope" in Exchange 2007: first in October as Tips 1 and 2 of the Exchange 2007 Console Tips and Tricks post and then again in January as Tip 1 of the Tips for Managing the Exchange Server 2007 Console Views post. In these...
15 Feb 2007
DynamicDistributionGroup for all users in a particular storage group
Lots of people are asking lots of questions at the ExchangeNinjas wiki ! Glad to see so much participation both from within the Exchange team and also from the broad Exchange community!! This question struck me as pretty interesting, so I figured I'd surface it on the blog as well as answering it...
6 Jul 2007
Wrangling Byte Quantified Size details from Exchange 2007 with Powershell
Exchange 2007 has some very powerful cmdlets which can be used to generate fairly effective reports, out of the box. However, sometimes they're just a bit TOO powerful, and it leads to some confusion about how to get out the data you want. Example of this -- an email I responded to today: Customer was...
3 Jan 2007
Powershell blog takes on booleans
More details about the "True"/"False" vs $true/$false behavior posted to the Powershell team blog ( Boolean Values and Operators ) over the weekend. I'm very relieved (" whew !") to see they reached same conclusion as my Exchange-related blog post ( When 'false' means $true ), but with a bit more detail...
27 Dec 2006
Benp's Guide to Stuff... Today, AD
Benp recently posted his "guide to stuff" on the topic of PowerShell manipulation of AD objects , focusing on the use of the [ADSI] wrapper and System.DirectoryServices.DirectoryEntry. This is an area that is quite interesting to understand from an Exchange 2007 administration standpoint, since there...
9 Mar 2007
When 'false' means $true
Recent customer question: "Why does it treat the boolean as 'true' when I explicitly entered 'false'?". This question is normally followed up by something like "This is obviously a bug since when I tell it 'true' works just fine." Great real world example syntax that will exhibit this behavior would...
13 Dec 2006
Validation (and DirectoryEntry) demo from TechEd 2007
I didn't get a chance to do this demo in my Exchange Automation with PowerShell session at Teched 2007, mostly due to time. However, I had a conversation with someone prior to my talk and I said that I'd cover it at some point. Well, let's cover it here in the blog and call it done. :) The point of this...
18 Jun 2007
Evan's TechEd 2007 Wrapup
I realized this week that all of the sessions (and video recordings of each session -- I didn't even realize they were recording ALL of the sessions!) are available online. This means even if you ended up double-booked for two interesting sessions and had to choose just ONE in person, you can still review...
25 Jun 2007
MVP Summit Exchange details
My earlier post about the MVP summit this week didn't really talk much about the Exchange participation because I didn't have the numbers. Thanks to Melissa's post at EHLO , now we have the numbers! Approximately every 12-18 months, Microsoft invites the MVPs to Redmond for the MVP Global Summit...
14 Mar 2007
Using C# to get to MultiValuedProperty
Today's post is to address a question we dealt with fairly recently through a customer escalation. The customer was trying to figure out the best way to programmatically get access to the entries in a MultiValuedProperty collection returned as part of an Exchange object. Specific example we'll use here...
1 Apr 2008
Wow, time sure flies. No posts since end of April; sorry about that! I'm (more or less) caught back up at work from these crazy few weeks (months?) just passed, and I'm even just returning from a week vacation... raring to go! So what's next? Well... this is a short week, and then next week (June 4-8...
29 May 2007
SMTP .net object demo from my TechEd 2007 PowerShell session
Wolfgang requested a reprint of the details from the "SMTP Demo" part of my TechEd talk last week. Here is (roughly) the transcript of the steps, and my comments interspersed... [PS] C:\>$dl = Get-DistributionGroup SomeGroup Ok, now we've got $dl variable loaded up with a distribution group...
12 Jun 2007
Using MemberOf with -RecipientFilter
In the Do I Really Need to Upgrade my Filters blog post, Several folks posted a question/comment asking about MemberOf. In Exchange 2003, it was possible to build an EAP/AL/GAL/DDG filter that took into account group membership as a criteria for inclusion in the filter. My initial response was that it...
14 Feb 2007
More Quota madness - this time MailboxStatistics
In the last post, I walked through how to get mailboxes who met certain quota criteria (including inheriting these values from the mailbox database values). Today, let's cover this from a different perspective: "who is over their quota". Sure, it's possible to get this with a simple one-liner like...
26 Mar 2007
Mailbox Size PowerShell Form Script
Glen recently posted an " Exchange 2007 Mailbox Size PowerShell Form Script ". This is a super-cool walkthrough post for at least two reasons: 1) It shows the power of PowerShell (and you know I just can't get enough of that!) but also 2) it shows how to layer some simple GUI on top of PowerShell...
16 Feb 2007
How many mailboxes on each of my mailbox databases?
Recent question across my mailbox: "How can I get a count of how many mailboxes are on each of my mailbox databases?" The simple answer is to use something like this: Get-Mailbox -ResultSize Unlimited | Group-Object Database | Format-Table Name, Count You can refine it further (with -Server...
13 Dec 2006
AdminDisplayVersion as a structure
Neil posted this morning about how to find your Exchange 2007 server's "installed bits" version using powershell and the "AdminDisplayVersion" property . Great post, and a simple way to determine -- particularly in bulk for many servers -- what version of Exchange 2007 you're running. Now, what's interesting...
26 Jan 2007
© 2015 Microsoft Corporation.
Privacy & Cookies