<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>PowerShell</title>
        <link>http://blogs.3sharp.com/deving/category/61.aspx</link>
        <description>PowerShell</description>
        <language>en-US</language>
        <copyright>Devin L. Ganger</copyright>
        <managingEditor>deving@3sharp.com</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <item>
            <title>A certificate roundup</title>
            <link>http://blogs.3sharp.com/deving/archive/2008/05/09/a-certificate-roundup.aspx</link>
            <description>&lt;p&gt;Certificates are one of the biggest issues I keep hearing about with Exchange and OCS, and apparently I'm not the only one. Fellow MVP Michael B. Smith has recently posted two blog articles on certs: &lt;a href="http://theessentialexchange.com/blogs/michael/archive/2008/05/07/isa-2006-and-san-uc-certificates.aspx" target="_blank"&gt;how to use SAN certificates with ISA 2006&lt;/a&gt; and &lt;a href="http://theessentialexchange.com/blogs/michael/archive/2008/05/08/other-certificate-limitations-with-exchange-ocs-wm.aspx" target="_blank"&gt;other certificate limitations&lt;/a&gt;. However, he's got a couple of points on the second article that I'm confused about:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;According to &lt;a href="http://blogs.msdn.com/windowsmobile/archive/2007/02/07/certificate-improvements-in-windows-mobile-6.aspx" target="_blank"&gt;this announcement&lt;/a&gt; on the Windows Mobile team blog, Windows Mobile 6.0 and up do in fact support wildcard certificates.&lt;/li&gt;
    &lt;li&gt;The first point he makes is also head-scratcher, because I've also heard this was an issue, but I'd also recently heard of a workaround for it:&lt;br /&gt;
    &lt;ol&gt;
        &lt;li&gt;In Outlook, go to the properties for your Exchange account (Tools, Account Settings, select your Exchange account and click &lt;span style="font-weight: bold;"&gt;Change&lt;/span&gt;) and click &lt;span style="font-weight: bold;"&gt;More Settings&lt;/span&gt;.&lt;/li&gt;
        &lt;li&gt;On the &lt;span style="font-style: italic;"&gt;Connection&lt;/span&gt; tab, click &lt;span style="font-weight: bold;"&gt;Exchange Proxy Settings&lt;/span&gt;.&lt;/li&gt;
        &lt;li&gt;Look for the field &lt;span style="font-style: italic;"&gt;Only connect to proxy servers that have this principal name in their certificate&lt;/span&gt; and make sure it's checked (you may need to check the &lt;span style="font-style: italic;"&gt;Connect using SSL only&lt;/span&gt; checkbox first).&lt;br /&gt;
        &lt;/li&gt;
        &lt;li&gt;The value in this field should normally be set to &lt;span style="font-weight: bold;"&gt;msstd:server.external.fqdn&lt;/span&gt;, the FQDN the server is known as from the outside &lt;span style="font-style: italic;"&gt;and that is the subject name of the certificate&lt;/span&gt;. So if my certificate was issued for 3Sharp, it would be &lt;span style="font-weight: bold;"&gt;msstd:mail.3sharp.com&lt;/span&gt;. To use this with a wildcard certificate issued to *.3sharp.com, this value would need to be set to &lt;span style="font-weight: bold;"&gt;msstd:*.3sharp.com&lt;/span&gt;.&lt;br /&gt;
        &lt;br /&gt;
        Let's try a diagram to make the point:&lt;br /&gt;
        &lt;img width="346" height="307" src="http://www.3sharp.com/files/deving/msstd-wilcard.png" alt="Setting the msstd field in the Exchange proxy settings dialog box" /&gt;&lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I'm doing more checking, trying to figure out what the deal is here; in the meantime, if you've got operational experience with either of these issues, please let me know.&lt;/p&gt;
&lt;p&gt;At any rate, there's some more interesting factoids on certificates I've picked up:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;If you want to use a certificate with the Exchange 2007 UM role, you need to have a certificate on the machine whose subject name matches the server's AD/DNS FQDN.  It seems that you can't enable a certificate for the UM service using the &lt;span style="font-weight: bold;"&gt;Enable-ExchangeCertificate&lt;/span&gt; cmdlet if this does not match. Note that you can do this for other services, such as those hosted by the CAS role; the cmdlet performs different name checks on the certificate based on the services (SMTP, POP3, IMAP, HTTP, and UM) that you are enabling.&lt;/li&gt;
    &lt;li&gt;I've said it before, but it needs to be repeated: if you're not using the default self-signed certificate, simply use the &lt;span style="font-weight: bold;"&gt;Enable-ExchangeCertificate&lt;/span&gt; cmdlet to move all services to one or more additional certificates. &lt;span style="font-style: italic;"&gt;Do not delete the default certificate&lt;/span&gt;; although in most cases Exchange will simply recreate it when the appropriate service is restarted, you can cause subtle errors that will take a while to figure out.&lt;/li&gt;
    &lt;li&gt;Learn more about certificate usage in Exchange in &lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/aa998840(EXCHG.80).aspx"&gt;Creating a Certificate or Certificate Request for TLS&lt;/a&gt;.&lt;/li&gt;
    &lt;li&gt;And learn more about the &lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/aa997231.aspx"&gt;Enable-ExchangeCertificate&lt;/a&gt; cmdlet.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;More later!&lt;/p&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/4896.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2008/05/09/a-certificate-roundup.aspx</guid>
            <pubDate>Fri, 09 May 2008 23:55:07 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2008/05/09/a-certificate-roundup.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/4896.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/4896.aspx</trackback:ping>
        </item>
        <item>
            <title>Sweet PowerShell lovin'...for free!</title>
            <link>http://blogs.3sharp.com/deving/archive/2008/02/28/4871.aspx</link>
            <description>&lt;p&gt;And yes, that's "free as in beer," not "free as in what some people think all information wants to be."&lt;em&gt;[1]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Frank Koch and Marcel Tr&amp;#252;mpy of Microsoft (in Switzerland) have created not one, but two Windows PowerShell ebooks, and &lt;a target="_blank" href="http://blogs.technet.com/chitpro-de/archive/2008/02/28/free-windows-powershell-workbook-server-administration.aspx"&gt;you can get them both for free&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Windows PowerShell course book with associated demo files and examples.
&lt;li&gt;A Windows PowerShell server administration book with associated demo files and examples.
&lt;/ul&gt;

&lt;p&gt;Get them both in one easy download either in &lt;a target="_blank" href="http://download.microsoft.com/download/4/7/1/47104ec6-410d-4492-890b-2a34900c9df2/Workshops-EN.zip"&gt;English&lt;/a&gt; or &lt;a target="_blank" href="http://download.microsoft.com/download/4/7/1/47104ec6-410d-4492-890b-2a34900c9df2/Workshops-DE.zip"&gt;German&lt;/a&gt;. The downloads are from Microsoft and no registration is required, according to the blog posting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[1]&lt;/strong&gt; If you believe all information wants to be free, I challenge you to put your money where your mouth is and post your Social Security number (if you live in the USA; equivalent if you don't), birthdate, address, personal phone number, and bank account information here in my comments. After all, that's all information -- and it wants to be free!&lt;/p&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/4871.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2008/02/28/4871.aspx</guid>
            <pubDate>Thu, 28 Feb 2008 19:04:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2008/02/28/4871.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/4871.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/4871.aspx</trackback:ping>
        </item>
        <item>
            <title>Liveblogging the Unified Communications Voice Ignite conference, day 3</title>
            <link>http://blogs.3sharp.com/deving/archive/2008/02/05/4691.aspx</link>
            <description>Day Three of Devin's notes from the UC Voice Ignite event in Sydney, Australia.&lt;img src="http://blogs.3sharp.com/deving/aggbug/4691.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2008/02/05/4691.aspx</guid>
            <pubDate>Tue, 05 Feb 2008 22:09:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2008/02/05/4691.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/4691.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/4691.aspx</trackback:ping>
        </item>
        <item>
            <title>Post-Connections report</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/11/13/3816.aspx</link>
            <description>&lt;p&gt;Vegas was great again, this year; the hotel was as lovely as ever, but the overlap with the Latin Grammys sure did some interesting things to the elevators. Mandalay Bay felt full this year! On the other hand, the beach remodel was excellent; the wave pool and the Lazy River pool were both hits with my family. As is my wont, I'm making my session slide decks available for download.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.3sharp.com/files/deving/exc16-ganger-f07.ppt"&gt;&lt;strong&gt;EXC16: Advanced Exchange Protection using Data Protection Manager&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Backing up and restoring Exchange servers is an essential part of keeping your messaging infrastructure up and running, even when you’re running an advanced clustering configuration. Why should you consider using the new version of Microsoft System Center Data Protection Manager (“v2“) to protect your Exchange server clusters? Is it any harder than backing up standalone servers? This session covers protecting Exchange 2003 and 2007 servers clustered configurations, including the new Exchange 2007 replication options.&lt;/em&gt;&lt;br&gt;&lt;br&gt;I thought this session went pretty well; there was a Microsoft session on Tuesday morning that looked like it was going to cover the exact same material, but the overlap was both smaller and shallower than I expected. I got a lot of good questions from this session which I'll be answering in the next couple of days; I really hope that I was able to convey my own excitement about DPM and how it will make a great partner for protecting Exchange.
&lt;li&gt;&lt;a href="http://www.3sharp.com/files/deving/exc17-ganger-f07.ppt"&gt;&lt;strong&gt;EXC17: Exchange Management Shell Annoyances&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Exchange 2007 Management Shell makes full use of the exciting new Windows PowerShell technology. It’s a great command-line management experience, but it’s still not perfect. You may have already been tripped up by annoyances and complications in what seem to be obvious tasks or you may just want to know what dangers lurk beneath the surface. This session will show you some common pitfalls and problems and give you the knowledge to successfully navigate them.&lt;/em&gt;&lt;br&gt;&lt;br&gt;This session suffered from the inevitable technical glitches; my Exchange virtual environment died an hour or two before the session, so I ended up having to run it from a stock Windows PowerShell session. Luckily, I was able to cover most of the territory from there and even add a couple of things or two. Not having the &lt;strong&gt;Get-Help&lt;/strong&gt; and cmdlet completion information for EMS, though, just sucked; my apologies.
&lt;li&gt;&lt;a href="http://www.3sharp.com/files/deving/exc18-ganger-f07.ppt"&gt;&lt;strong&gt;EXC18: Getting Run Over by Exchange 2007&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Common knowledge says that upgrading to Exchange 2007 isn’t nearly as hard as the upgrade from Exchange 5.5. That’s not to say that it doesn’t present its own set of challenges—and if you’re caught by them, it will still feel like getting run over by a truck. This session will present some of the common gotchas and how to avoid them. Be at the head of the upgrade parade, not caught in the wheels.&lt;/em&gt;&lt;br&gt;&lt;br&gt;Wow. This was a great session; standing room only and a lot of good feedback and questions. This is clearly a topic of concern to people -- if you have any other upgrade gotchas, let me know!
&lt;/ul&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/3816.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/11/13/3816.aspx</guid>
            <pubDate>Tue, 13 Nov 2007 22:37:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/11/13/3816.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3816.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3816.aspx</trackback:ping>
        </item>
        <item>
            <title>It's a release!</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/10/08/3780.aspx</link>
            <description>&lt;p&gt;For those of you who have been waiting for that sweet, sweet DPM 2007 goodness...wait no more. &lt;a target="_blank" href="http://www.microsoft.com/systemcenter/dpm/default.mspx"&gt;It's gone RTM&lt;/a&gt;. DPM 2007 is an amazing product, so amazing that &lt;a target="blank" href="http://blogs.3sharp.com/blog/deving/"&gt;somebody&lt;/a&gt; and &lt;a target="blank" href="http://blogs.3sharp.com/blog/ryanf/"&gt;his cow-orker&lt;/a&gt; are writing &lt;a target="blank" href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470181524.html"&gt;a book about it&lt;/a&gt;. (Yes, Ryan and I have been pretty busy on this thing; in fact, I get to work on edits to a couple more chapters tonight after I leave work and Ryan is busy rocking the house with some phat lab tracks for your testing and learning pleasure.)&lt;/p&gt;

&lt;p&gt;Of course, my absolutely favorite features of DPM 2007 are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;DPM makes it easy it makes protecting and restoring Exchange data. Imagine being able to restore an individual mailbox without having to do brick-level MAPI backups! You can do it with DPM.
&lt;li&gt;In fact, DPM synchronizes your databases and transaction logs, so you can restore your data to any specific recovery point.
&lt;li&gt;DPM 2007 takes a page from the Exchange 2007 playbook with the DPM Management Shell, based on Windows PowerShell. It's not quite as pervasive as the EMS, but it's a damned good start.
&lt;/ul&gt;

&lt;p&gt;But don't take my word for it -- download the evaluation software and start playing with it.&lt;/p&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/3780.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/10/08/3780.aspx</guid>
            <pubDate>Tue, 09 Oct 2007 02:28:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/10/08/3780.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3780.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3780.aspx</trackback:ping>
        </item>
        <item>
            <title>Testing your new Exchange 2007 Send connector</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/09/25/3759.aspx</link>
            <description>Devin covers a common Exchange 2007 upgrade scenario: how to install a new Exchange 2007 Send connector and test it, then change route costs -- all without disrupting existing mail flow in your organization.&lt;img src="http://blogs.3sharp.com/deving/aggbug/3759.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/09/25/3759.aspx</guid>
            <pubDate>Tue, 25 Sep 2007 20:21:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/09/25/3759.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3759.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3759.aspx</trackback:ping>
        </item>
        <item>
            <title>Using PowerShell to admin Exchange 2000/2003</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/09/10/3728.aspx</link>
            <description>&lt;p&gt;Via &lt;a href="http://blogs.technet.com/evand/default.aspx" target="_blank"&gt;Evan's blog&lt;/a&gt;, I found out about &lt;a href="http://dmitrysotnikov.wordpress.com/2007/09/05/powergui-and-exchange-2003/" target="_blank"&gt;this pair&lt;/a&gt; &lt;a href="http://dmitrysotnikov.wordpress.com/2007/09/06/wmi-powershell-for-exchange-2003/" target="_blank"&gt;of postings&lt;/a&gt; on using PowerShell's WMI provider to manage Exchange 2000/2003 servers. I'm still working up my notes on my Exhange Connections session on this topic; once I get past the first draft deadline for the DPM book later this week, I should have spare time to finish the notes and get my postings up online.&lt;/p&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/3728.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/09/10/3728.aspx</guid>
            <pubDate>Tue, 11 Sep 2007 00:23:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/09/10/3728.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3728.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3728.aspx</trackback:ping>
        </item>
        <item>
            <title>Post-Connections post</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/04/05/3050.aspx</link>
            <description>Devin returns from the Exchange Connections conference in Orlando and shares the PowerPoint presentations for his sessions.&lt;img src="http://blogs.3sharp.com/deving/aggbug/3050.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/04/05/3050.aspx</guid>
            <pubDate>Fri, 06 Apr 2007 00:27:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/04/05/3050.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3050.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3050.aspx</trackback:ping>
        </item>
        <item>
            <title>Need some PowerShell help</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/03/29/3024.aspx</link>
            <description>&lt;P&gt;Normally, when I write a blog post, I'm trying to help other people out. I forget that it can work both ways. So, today's post is a plea for help: if you know a lot about PowerShell, I could use an answer to the following three questions. If you've got any insights, please drop me an email using the &lt;A href="http://blogs.3sharp.com/Blog/deving/contact.aspx"&gt;Contact&lt;/A&gt; link.&lt;/P&gt;
&lt;HR&gt;
&lt;STRONG&gt;&lt;EM&gt;Question the First:&lt;/EM&gt;&lt;/STRONG&gt; 
&lt;P&gt;I've got a script that manipulates a user's &lt;STRONG&gt;delivcontlength&lt;/STRONG&gt; property in Exchange 2003. This helps me manage the situation where I've got a few users who need to be able to receive 20MB messages while most everyone else only needs 10MB. My script grabs all of the user objects in the directory, iterates through the collection, checks to see if the user is one of the special users, and if not it sets the per-user limit to be 10MB.&lt;/P&gt;&lt;PRE&gt;$ds=New-Object DirectoryServices.DirectorySearcher
$ds.Filter="(&amp;amp;(objectcategory=person)(objectclass=user))"
$AllUsers=$ds.FindAll()
Foreach ($User in $AllUsers) {
  $oUser=$User.GetDirectoryEntry()
  if ($oUser.sAMAccountName -ne "deving") {
    $oUser.Put("delivcontlength", "10240")
    $oUser.SetInfo()
    $oUser.psbase.RefreshCache()
  }
  $oUser | select displayname,delivcontlength
}
&lt;/PRE&gt;
&lt;P&gt;This script does what I want to do, but what I don't know how to do is reset the &lt;STRONG&gt;delivcontlength&lt;/STRONG&gt; attribute. If there's no per-user limit set, this attribute doesn't exist on the user object -- so how do I remove an attribute through PowerShell? Setting it to 0 doesn't work.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; The correct answer is to use the &lt;STRONG&gt;PutEx&lt;/STRONG&gt; method, which allows you to handle a collection of attributes, as well as delete existing attributes. I'll post an updated snippet of code next week that shows how to use &lt;STRONG&gt;PutEx&lt;/STRONG&gt; in live code. Thanks to Andy Webb for the answer.&lt;/EM&gt;&lt;/P&gt;
&lt;HR&gt;
&lt;STRONG&gt;&lt;EM&gt;Question the Second:&lt;/EM&gt;&lt;/STRONG&gt; 
&lt;P&gt;Continuing with the &lt;STRONG&gt;delivcontlength&lt;/STRONG&gt; attribute, when I go to check its value on a single user:&lt;/P&gt;&lt;PRE&gt;$oUser.Get(&amp;#8220;delivcontlength&amp;#8221;)
&lt;/PRE&gt;
&lt;P&gt;This throws an exception if the attribute isn&amp;#8217;t set. How do I trap that exception inside of a script so I know that the property doesn&amp;#8217;t exist, and can do something else based on that information?&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; The answer, again from Andy Web, is to use the &lt;STRONG&gt;GetEx&lt;/STRONG&gt; method and specify the &lt;STRONG&gt;delivcontlength&lt;/STRONG&gt; as one of the attributes in the collection. Then, check to see if a value is returned in the array.&lt;/EM&gt;&lt;/P&gt;
&lt;HR&gt;
&lt;STRONG&gt;&lt;EM&gt;Question the Third:&lt;/EM&gt;&lt;/STRONG&gt; 
&lt;P&gt;Given a variable with a DN, what is the easiest way to open the corresponding object using ADSI? I've tried the following with no success:&lt;/P&gt;&lt;PRE&gt;$DN = "LDAP://red-dc01:389/CN=Devin Ganger,OU=Users,OU=3Sharp Accounts,DC=redmond,DC=3sharp,DC=com"
$oUser = [ADSI]$DN
&lt;/PRE&gt;
&lt;P&gt;The point, of course, is to be able to retrieve the DNs from some other list such as a CSV and perform some operation on the listed objects by iterating through with a loop.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I'm told that this should in fact work. When I go paste it into a clean instance, it does, in fact work. Weird!&lt;/EM&gt;&lt;/P&gt;&lt;img src="http://blogs.3sharp.com/deving/aggbug/3024.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/03/29/3024.aspx</guid>
            <pubDate>Thu, 29 Mar 2007 19:38:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/03/29/3024.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/3024.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/3024.aspx</trackback:ping>
        </item>
        <item>
            <title>Getting to know the legacy Routing Group Connector in Exchange 2007</title>
            <link>http://blogs.3sharp.com/deving/archive/2007/03/06/2994.aspx</link>
            <description>Devin introduces the legacy interop Routing Group Connector in Exchange 2007, shows how it connects Exchange 2007 and  Exchange 2000/2003 servers, and demonstrates modifying it using the Exchange Management Shell.&lt;img src="http://blogs.3sharp.com/deving/aggbug/2994.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Devin L. Ganger</dc:creator>
            <guid>http://blogs.3sharp.com/deving/archive/2007/03/06/2994.aspx</guid>
            <pubDate>Tue, 06 Mar 2007 08:49:00 GMT</pubDate>
            <comments>http://blogs.3sharp.com/deving/archive/2007/03/06/2994.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blogs.3sharp.com/deving/comments/commentRss/2994.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.3sharp.com/deving/services/trackbacks/2994.aspx</trackback:ping>
        </item>
    </channel>
</rss>