<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Exchange Management Shell Export Mailbox to PST script</title>
	<atom:link href="http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/</link>
	<description>Matts Admin Tips</description>
	<lastBuildDate>Wed, 10 Mar 2010 21:48:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt Shadbolt</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3316</link>
		<dc:creator>Matt Shadbolt</dc:creator>
		<pubDate>Wed, 10 Mar 2010 21:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3316</guid>
		<description>Ah of course, I did know that the shell needs to be 32-bit but didn&#039;t put that in my original post. Updated.</description>
		<content:encoded><![CDATA[<p>Ah of course, I did know that the shell needs to be 32-bit but didn&#8217;t put that in my original post. Updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernanda</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3309</link>
		<dc:creator>Fernanda</dc:creator>
		<pubDate>Wed, 10 Mar 2010 14:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3309</guid>
		<description>I ran the shell as administrator and the problem did not resolve.
However, another error message appeared.
I had to install the admin tools for exchange on my desktop because this command has to run on 32-bit computer.
And now it runs ok.

Thanks for the help.</description>
		<content:encoded><![CDATA[<p>I ran the shell as administrator and the problem did not resolve.<br />
However, another error message appeared.<br />
I had to install the admin tools for exchange on my desktop because this command has to run on 32-bit computer.<br />
And now it runs ok.</p>
<p>Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Shadbolt</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3303</link>
		<dc:creator>Matt Shadbolt</dc:creator>
		<pubDate>Wed, 10 Mar 2010 07:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3303</guid>
		<description>So it looks like the account your running the EMS shell from doesn&#039;t have permissions to write to that directory. You need to run the shell as a user who has Exchange Admin group membership, and an account that has access to that logs directory?

In the shell you are running EMS from, are you able to create a text file?</description>
		<content:encoded><![CDATA[<p>So it looks like the account your running the EMS shell from doesn&#8217;t have permissions to write to that directory. You need to run the shell as a user who has Exchange Admin group membership, and an account that has access to that logs directory?</p>
<p>In the shell you are running EMS from, are you able to create a text file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernanda</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3288</link>
		<dc:creator>Fernanda</dc:creator>
		<pubDate>Tue, 09 Mar 2010 12:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3288</guid>
		<description>I just create the directory and another error appeared:
&quot;Cannot open the log file &#039;C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs\export-Mailbox20100309-090258-6492356.log&#039;.&quot;
I think this command seems to create a log file and open it but, when I come to the folder, the file is not there.</description>
		<content:encoded><![CDATA[<p>I just create the directory and another error appeared:<br />
&#8220;Cannot open the log file &#8216;C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs\export-Mailbox20100309-090258-6492356.log&#8217;.&#8221;<br />
I think this command seems to create a log file and open it but, when I come to the folder, the file is not there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Shadbolt</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3278</link>
		<dc:creator>Matt Shadbolt</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3278</guid>
		<description>Does it work if you create the directory?</description>
		<content:encoded><![CDATA[<p>Does it work if you create the directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernanda</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-3273</link>
		<dc:creator>Fernanda</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-3273</guid>
		<description>When running the script, the prompt shows the following error:&quot;The log file directory &#039;C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs&#039; does not exist.&quot;

Is there a solution for this?</description>
		<content:encoded><![CDATA[<p>When running the script, the prompt shows the following error:&#8221;The log file directory &#8216;C:\Program Files\Microsoft\Exchange Server\Logging\MigrationLogs&#8217; does not exist.&#8221;</p>
<p>Is there a solution for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mattshadbolt</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-253</link>
		<dc:creator>mattshadbolt</dc:creator>
		<pubDate>Fri, 15 May 2009 04:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-253</guid>
		<description>Good stuff. It&#039;s likely your .NET runtime version is old. Glad you&#039;ve got it working though :)</description>
		<content:encoded><![CDATA[<p>Good stuff. It&#8217;s likely your .NET runtime version is old. Glad you&#8217;ve got it working though <img src='http://mattlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-251</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Wed, 13 May 2009 19:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-251</guid>
		<description>Well a couple things.  I believe the issue may have been machine related.  My xp machine was the issue as it runs fine on another xp machine and also a vista machine.  I  can in fact run this without having to use the Get-item cmdlet.  

Thanks</description>
		<content:encoded><![CDATA[<p>Well a couple things.  I believe the issue may have been machine related.  My xp machine was the issue as it runs fine on another xp machine and also a vista machine.  I  can in fact run this without having to use the Get-item cmdlet.  </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mattshadbolt</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-249</link>
		<dc:creator>mattshadbolt</dc:creator>
		<pubDate>Tue, 12 May 2009 23:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-249</guid>
		<description>What happens when you run (line by line):

$CurrentHostName = hostname
$CurrentProfile = Gwmi Win32_ComputerSystem -Comp $CurrentHostName 
“Logged On As User: ” + $CurrentProfile.UserName

When yo ucall $CurrentProfile.UserName you should receive the DOMAIN\Username your currently logged in with.
I haven&#039;t tested different user permissions, however I don&#039;t think recipient admin will work... I have a feeling you need to have Server Administrator rights or more.
One other thing - are you running Exchange 07 SP1? And are you running the EMS from XP or Vista?</description>
		<content:encoded><![CDATA[<p>What happens when you run (line by line):</p>
<p>$CurrentHostName = hostname<br />
$CurrentProfile = Gwmi Win32_ComputerSystem -Comp $CurrentHostName<br />
“Logged On As User: ” + $CurrentProfile.UserName</p>
<p>When yo ucall $CurrentProfile.UserName you should receive the DOMAIN\Username your currently logged in with.<br />
I haven&#8217;t tested different user permissions, however I don&#8217;t think recipient admin will work&#8230; I have a feeling you need to have Server Administrator rights or more.<br />
One other thing &#8211; are you running Exchange 07 SP1? And are you running the EMS from XP or Vista?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/comment-page-1/#comment-247</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 12 May 2009 14:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://mattlog.net/?p=143#comment-247</guid>
		<description>The Get-item did work.

I think the issue I have is that it fails when trying to get the current user and password.  This is the error I get:

Get-WmiObject : Retrieving the COM class factory for component with CLSID {4590
F811-1D3A-11D0-891F-00AA004B2E24} failed due to the following error: 80040154.
At C:\scripts\exportmbx.ps1:5 char:23
+ $CurrentProfile = Gwmi  &lt;&lt;&lt;&lt; Win32_ComputerSystem -Comp $CurrentHostName

What exchange permissions does the user running the script need to be able to add the full access right?  I want to give the least permission as possible.  Will recipient admin work?</description>
		<content:encoded><![CDATA[<p>The Get-item did work.</p>
<p>I think the issue I have is that it fails when trying to get the current user and password.  This is the error I get:</p>
<p>Get-WmiObject : Retrieving the COM class factory for component with CLSID {4590<br />
F811-1D3A-11D0-891F-00AA004B2E24} failed due to the following error: 80040154.<br />
At C:\scripts\exportmbx.ps1:5 char:23<br />
+ $CurrentProfile = Gwmi  &lt;&lt;&lt;&lt; Win32_ComputerSystem -Comp $CurrentHostName</p>
<p>What exchange permissions does the user running the script need to be able to add the full access right?  I want to give the least permission as possible.  Will recipient admin work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
