<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MattLog.net &#187; EMS</title>
	<atom:link href="http://mattlog.net/tag/ems/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattlog.net</link>
	<description>Matts Admin Tips</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:37:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Output Exchange 2007 Retry/Ready Messages</title>
		<link>http://mattlog.net/2009/04/17/output-exchange-2007-retryready-messages/</link>
		<comments>http://mattlog.net/2009/04/17/output-exchange-2007-retryready-messages/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 05:04:29 +0000</pubDate>
		<dc:creator>Matt Shadbolt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[EMS]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Get-Message]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://mattlog.net/?p=150</guid>
		<description><![CDATA[Here&#8217;s a quick and dirty Exchange 2007 command-let that will output all the outgoing emails that are not being delivered. It Checks the message status (NOT &#8220;Active) and the message retry count (GT 0) and outputs the results. Get-Message -Server SERVER01 -IncludeRecipientInfo &#124; Where{$_.RetryCount -gt 0} &#124; Where{$_.Status -ne &#8220;Active&#8221;} &#124; SELECT FromAddress, Recipients, LastError [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick and dirty Exchange 2007 command-let that will output all the outgoing emails that are not being delivered. It Checks the message status (NOT &#8220;Active) and the message retry count (GT 0) and outputs the results.</p>
<p>Get-Message -Server SERVER01 -IncludeRecipientInfo | Where{$_.RetryCount -gt 0} | Where{$_.Status -ne &#8220;Active&#8221;} | SELECT FromAddress, Recipients, LastError | Format-Table</p>
]]></content:encoded>
			<wfw:commentRss>http://mattlog.net/2009/04/17/output-exchange-2007-retryready-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange Management Shell Export Mailbox to PST script</title>
		<link>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/</link>
		<comments>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 02:46:10 +0000</pubDate>
		<dc:creator>Matt Shadbolt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[EMS]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Export-Mailbox]]></category>
		<category><![CDATA[PST]]></category>

		<guid isPermaLink="false">http://mattlog.net/?p=143</guid>
		<description><![CDATA[Here is s nifty script I chucked together that will prompt for a user name, configure the required permissions and then export the users mailbox to a PST file. All you need to do is change the $TargetArchiveDir location to the folder you wish to save the PST&#8217;s to. I&#8217;d suggest using a file share [...]]]></description>
			<content:encoded><![CDATA[<p>Here is s nifty script I chucked together that will prompt for a user name, configure the required permissions and then export the users mailbox to a PST file. All you need to do is change the $TargetArchiveDir location to the folder you wish to save the PST&#8217;s to. I&#8217;d suggest using a file share so the PST&#8217;s are saved in the same location no matter which admin exports the mailbox.</p>
<p>$TargetUserName = Read-Host &#8220;Enter the user you would like to Export&#8221;<br />
$TargetArchiveDir = Get-Item &#8220;\\FILE-SERVER\ARCHIVE PST\&#8221;<br />
$CurrentHostName = hostname<br />
$CurrentProfile = Gwmi Win32_ComputerSystem -Comp $CurrentHostName<br />
&#8220;Logged On As User: &#8221; + $CurrentProfile.UserName</p>
<p>Write-Host &#8220;Setting Permissions&#8221; -ForeGroundColor Yellow<br />
Add-MailboxPermission -Identity $TargetUserName -User $CurrentProfile.Username -AccessRights &#8216;FullAccess&#8217;</p>
<p>Write-Host &#8220;Exporting Mailbox&#8221; -ForeGroundColor Yellow<br />
Export-Mailbox -identity $TargetuserName -PSTFolderPath $TargetArchiveDir -Confirm:$True<br />
Write-Host &#8220;You can now Delete the user &#8211; I&#8217;m too scared to do it for you!&#8221; -ForeGroundColor Yellow</p>
<p><em>Note: You need to run this script on a 32-bit machine with the Exchange Administration role installed</em></p>
Posted by Matt Shadbolt<br>
<a href ="http://mattlog.net">http://mattlog.net</a><br>
Please comment or click an ad to support this site<br>]]></content:encoded>
			<wfw:commentRss>http://mattlog.net/2009/03/25/exchange-management-shell-export-mailbox-to-pst-script/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
