<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Exchange 2007 Advanced Move Mailbox Powershell commands</title><link>http://blogs.technet.com/benw/archive/2007/08/28/exchange-2007-advanced-move-mailbox-powershell-commands.aspx</link><description>By now, you should be familiar with the day to day Powershell commands, so here is one that uses the foreach command. Foreach is used to loop through a given set of items (an array), and perform an action on each one. As an example, let's say that you</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Exchange 2007 Advanced Move Mailbox Powershell commands</title><link>http://blogs.technet.com/benw/archive/2007/08/28/exchange-2007-advanced-move-mailbox-powershell-commands.aspx#3106779</link><pubDate>Sat, 16 Aug 2008 02:11:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3106779</guid><dc:creator>jsalinas</dc:creator><description>&lt;p&gt;The first option works like a charm even thought is not optimized... And it is taking me a long time to move many mailboxes... :(&lt;/p&gt;
&lt;p&gt;Are you sure you can pass the array just like that to the other 2 options? because I cant make it work. &lt;/p&gt;
&lt;p&gt;I got the following error:&lt;/p&gt;
&lt;p&gt;Get-Mailbox : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.&lt;/p&gt;
&lt;p&gt;Any suggestions are welcome. Thank U in advance,&lt;/p&gt;
&lt;p&gt;Jorge&lt;/p&gt;
</description></item><item><title>re: Exchange 2007 Advanced Move Mailbox Powershell commands</title><link>http://blogs.technet.com/benw/archive/2007/08/28/exchange-2007-advanced-move-mailbox-powershell-commands.aspx#3159367</link><pubDate>Tue, 25 Nov 2008 19:07:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3159367</guid><dc:creator>ubie</dc:creator><description>&lt;p&gt;this didn't work for me .. &lt;/p&gt;
&lt;p&gt;$mboxes | get-mailbox $mb -DomainController &amp;lt;source DC FQDN&amp;gt; -Credential &amp;nbsp;........&lt;/p&gt;
&lt;p&gt;but this did: &lt;/p&gt;
&lt;p&gt;$mboxes | get-mailbox &amp;nbsp;-DomainController &amp;lt;source DC FQDN&amp;gt; -Credential &amp;nbsp;........&lt;/p&gt;
</description></item></channel></rss>