<?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>CityCorpse</title>
	<atom:link href="http://citycorpse.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://citycorpse.com</link>
	<description>CityCorpse Powershell Exchange and Linux Blog</description>
	<lastBuildDate>Sun, 13 Nov 2011 19:22:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Exchange 2010 SP1 Export a message from the mail que to see its body</title>
		<link>http://citycorpse.com/2011/11/exchange-2010-sp1-export-a-message-from-the-mail-que-to-see-its-body/</link>
		<comments>http://citycorpse.com/2011/11/exchange-2010-sp1-export-a-message-from-the-mail-que-to-see-its-body/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 19:22:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=47</guid>
		<description><![CDATA[Go into the queue viewer in exchange suspend the message you wish to export right click and view the properties of the message note the Identity: field Ex Identity: EXHUB01\901119\6837546 Open exchange management shell run the following command with Identity replaced with the Identity we noted already. Export-Message -Identity EXHUB\901155\6837999 &#124; AssembleMessage -Path C:\test\message.eml Then [...]]]></description>
			<content:encoded><![CDATA[<p>Go into the queue viewer in exchange<br />
suspend the message you wish to export<br />
right click and view the properties of the message<br />
note the Identity: field Ex Identity: EXHUB01\901119\6837546<br />
Open exchange management shell<br />
run the following command with Identity replaced with the Identity we noted already.</p>
<p>Export-Message -Identity EXHUB\901155\6837999 | AssembleMessage -Path C:\test\message.eml</p>
<p>Then you can open the message using thunderbird to view it as if it was sent to you.</p>
<p>This can be usefully when trying to verify spam is being sent through your organization.</p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/11/exchange-2010-sp1-export-a-message-from-the-mail-que-to-see-its-body/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 SP1 audit Audit sent messages from a single email account</title>
		<link>http://citycorpse.com/2011/11/exchange-2010-sp1-audit-audit-sent-messages-from-a-single-email-account/</link>
		<comments>http://citycorpse.com/2011/11/exchange-2010-sp1-audit-audit-sent-messages-from-a-single-email-account/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 15:32:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=43</guid>
		<description><![CDATA[Hello today I will show you a simple script that can be run on the Exchange Management Shell to output a CSV file of all sent messages from a single exchange email box. &#62; get-messagetrackinglog -Sender &#8220;user@emaildomain.com&#8221; -EventID &#8220;SEND&#8221; -Start &#8220;11/11/2011 10:03:00 PM&#8221; -End &#8220;11/11/2011 11:00:00 PM&#8221; &#124;select Sender,Timestamp,@{Name=&#8217;Recipients&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.Recipients))}},MessageSubject&#124; Export-Csv c:\output\user_domain.csv This will output [...]]]></description>
			<content:encoded><![CDATA[<p>Hello today I will show you a simple script that can be run on the Exchange Management Shell to output a CSV file of all sent messages from a single exchange email box.</p>
<p>&gt; get-messagetrackinglog -Sender &#8220;user@emaildomain.com&#8221; -EventID &#8220;SEND&#8221; -Start &#8220;11/11/2011 10:03:00 PM&#8221; -End &#8220;11/11/2011 11:00:00 PM&#8221; |select Sender,Timestamp,@{Name=&#8217;Recipients&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.Recipients))}},MessageSubject<strong></strong>| Export-Csv c:\output\user_domain.csv</p>
<p>This will output a CSV file that can be opened in Excel showing all sent messages from the selected account what the subject is and who the recipients are. This can come in real handy when trying to track spam coming from a specific account, or to check for internal information being leaked.</p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/11/exchange-2010-sp1-audit-audit-sent-messages-from-a-single-email-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor Active directory Replication</title>
		<link>http://citycorpse.com/2011/07/monitor-active-directory-replication/</link>
		<comments>http://citycorpse.com/2011/07/monitor-active-directory-replication/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 13:34:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=39</guid>
		<description><![CDATA[Hello today we are gonna go over a simple script that will monitor your replication of all domain controllers in an organization. &#160; Remove-Item C:\NewScripts\ADReport.htm New-Item -ItemType file -Path C:\NewScripts -Name ADreport.htm $day = Get-Date $from = &#8220;email@sendingfrom.com&#8221; $to = &#8220;email@sendingto.com&#8221; #* Connect to your mail server $smtp = New-Object System.Net.Mail.SmtpClient(&#8220;mail.mailserver.com&#8221;); #* SMTP authentication $smtp.Credentials [...]]]></description>
			<content:encoded><![CDATA[<p>Hello today we are gonna go over a simple script that will monitor  your replication of all domain controllers in an organization.</p>
<p>&nbsp;</p>
<p>Remove-Item C:\NewScripts\ADReport.htm<br />
New-Item -ItemType file -Path C:\NewScripts -Name ADreport.htm<br />
$day = Get-Date</p>
<p>$from = &#8220;email@sendingfrom.com&#8221;<br />
$to = &#8220;email@sendingto.com&#8221;</p>
<p>#* Connect to your mail server<br />
$smtp = New-Object System.Net.Mail.SmtpClient(&#8220;mail.mailserver.com&#8221;);</p>
<p>#* SMTP authentication<br />
$smtp.Credentials = New-Object System.Net.NetworkCredential(&#8220;email@sendingfrom.com&#8221;, &#8220;password&#8221;);</p>
<p>$fileName = &#8220;C:\NewScripts\ADReport.htm&#8221;</p>
<p>#########################################<br />
####AD Replication Status################<br />
#########################################</p>
<p>Function writeHtmlHeader<br />
{<br />
param($fileName)<br />
$date = ( Get-Date ).ToString(&#8216;yyyy/MM/dd&#8217;)<br />
Add-Content $fileName &#8220;&lt;html&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;head&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;meta http-equiv=&#8217;Content-Type&#8217; content=&#8217;text/html; charset=iso-8859-1&#8242;&gt;&#8221;<br />
Add-Content $fileName &#8216;&lt;title&gt;Active directory Report&lt;/title&gt;&#8217;<br />
Add-Content $fileName &#8216;&lt;STYLE TYPE=&#8221;text/css&#8221;&gt;&#8217;<br />
Add-Content $fileName  &#8220;&lt;!&#8211;&#8221;<br />
Add-Content $fileName  &#8220;td {&#8221;<br />
Add-Content $fileName  &#8220;font-family: Tahoma;&#8221;<br />
Add-Content $fileName  &#8220;font-size: 11px;&#8221;<br />
Add-Content $fileName  &#8220;border-top: 1px solid #999999;&#8221;<br />
Add-Content $fileName  &#8220;border-right: 1px solid #999999;&#8221;<br />
Add-Content $fileName  &#8220;border-bottom: 1px solid #999999;&#8221;<br />
Add-Content $fileName  &#8220;border-left: 1px solid #999999;&#8221;<br />
Add-Content $fileName  &#8220;padding-top: 0px;&#8221;<br />
Add-Content $fileName  &#8220;padding-right: 0px;&#8221;<br />
Add-Content $fileName  &#8220;padding-bottom: 0px;&#8221;<br />
Add-Content $fileName  &#8220;padding-left: 0px;&#8221;<br />
Add-Content $fileName  &#8220;}&#8221;<br />
Add-Content $fileName  &#8220;body {&#8221;<br />
Add-Content $fileName  &#8220;margin-left: 5px;&#8221;<br />
Add-Content $fileName  &#8220;margin-top: 5px;&#8221;<br />
Add-Content $fileName  &#8220;margin-right: 0px;&#8221;<br />
Add-Content $fileName  &#8220;margin-bottom: 10px;&#8221;<br />
Add-Content $fileName  &#8220;&#8221;<br />
Add-Content $fileName  &#8220;table {&#8221;<br />
Add-Content $fileName  &#8220;border: thin solid #000000;&#8221;<br />
Add-Content $fileName  &#8220;}&#8221;<br />
Add-Content $fileName  &#8220;&#8211;&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;/style&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;/head&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;body&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;table width=&#8217;100%&#8217;&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;tr bgcolor=&#8217;#CCCCCC&#8217;&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;td colspan=&#8217;7&#8242; height=&#8217;25&#8242; align=&#8217;center&#8217;&gt;&#8221;<br />
Add-Content  $fileName  &#8220;&lt;font face=&#8217;tahoma&#8217; color=&#8217;#003399&#8242;  size=&#8217;4&#8242;&gt;&lt;strong&gt;Active Directory Replication Status &#8211;  $date&lt;/strong&gt;&lt;/font&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;/td&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;/tr&gt;&#8221;<br />
Add-Content $fileName  &#8220;&lt;/table&gt;&#8221;<br />
}<br />
# Function to write the HTML Header to the file<br />
Function writeTableHeader<br />
{<br />
param($fileName)<br />
Add-Content $fileName &#8220;&lt;table width=&#8217;100%&#8217;&gt;&lt;tbody&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;tr bgcolor=#CCCCCC&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Destination DSA&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Source DSA&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Naming Context&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Number of Failures&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Last Failure Time&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Last Success Time&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;td width=&#8217;10%&#8217; align=&#8217;center&#8217;&gt;Last Failure Status&lt;/td&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;/tr&gt;&#8221;<br />
}</p>
<p>Function writeHtmlFooter<br />
{<br />
param($fileName)<br />
Add-Content $fileName &#8220;&lt;/table&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;/body&gt;&#8221;<br />
Add-Content $fileName &#8220;&lt;/html&gt;&#8221;<br />
}</p>
<p>#Collect the replication info<br />
Function get-DBInfo<br />
{<br />
#Check the Replication with Repadmin<br />
$workfile = repadmin.exe /showrepl * /csv<br />
$results = ConvertFrom-Csv -InputObject $workfile</p>
<p>#Here pull the individual values from repadmin.exe</p>
<p>foreach($entry in $results) {<br />
$dServer = $entry.&#8217;Destination DSA&#8217;<br />
$sServer = $entry.&#8217;Source DSA&#8217;<br />
$name = $entry.&#8217;Naming Context&#8217;<br />
$fail = $entry.&#8217;Number of Failures&#8217;<br />
$lastFail = $entry.&#8217;Last Failure Time&#8217;<br />
$lastSuccess = $entry.&#8217;Last Success Time&#8217;<br />
$lastFailStatus = $entry.&#8217;Last Failure Status&#8217;</p>
<p>writedata  $dServer $sServer $name $fail $lastFail $lastSuccess $lastFailStatus<br />
}<br />
}</p>
<p>Function WriteData<br />
{<br />
param($dServer,$sServer,$name,$fail,$lastFail,$lastSuccess,$lastFailStatus)</p>
<p>$tableEntry  =  &#8220;&lt;tr&gt;&lt;td&gt;$dServer&lt;/td&gt;&lt;td&gt;$sServer&lt;/td&gt;&lt;td&gt;$name&lt;/td&gt;&lt;td&gt;$fail&lt;/td&gt;&lt;td&gt;$lastFail&lt;/td&gt;&lt;td&gt;$lastSuccess&lt;/td&gt;&lt;td&gt;$lastFailStatus&lt;/td&gt;&#8221;</p>
<p>Add-Content $fileName $tableEntry<br />
Write-Host $tableEntry<br />
}</p>
<p>writehtmlheader $fileName<br />
writetableheader $fileName<br />
get-DBInfo<br />
writehtmlfooter $fileName</p>
<p>#########################################<br />
#########Send Email message with report###########<br />
#########################################</p>
<p>$msg = new-object System.Net.Mail.MailMessage<br />
$msg.From = $from<br />
$msg.To.Add($to)<br />
$msg.Subject = &#8220;Active Directory Hourly Status Report&#8221;, $day<br />
$msg.Body = Get-Content C:\NewScripts\ADReport.htm<br />
$msg.isBodyhtml = $true<br />
$smtp.Send($msg)</p>
<p>&nbsp;</p>
<p>##########################################</p>
<p>&nbsp;</p>
<p>This will give you the following report emailed to you when you run the script:</p>
<div id="attachment_40" class="wp-caption alignnone" style="width: 583px"><a href="http://citycorpse.com/wp-content/uploads/2011/07/AdReport.jpg"><img class="size-medium wp-image-40" title="AdReport" src="http://citycorpse.com/wp-content/uploads/2011/07/AdReport-300x56.jpg" alt="" width="573" height="106" /></a><p class="wp-caption-text">AdReport</p></div>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/07/monitor-active-directory-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a FTP location as a Mapped Drive in Windows</title>
		<link>http://citycorpse.com/2011/05/add-a-ftp-location-as-a-mapped-drive-in-windows/</link>
		<comments>http://citycorpse.com/2011/05/add-a-ftp-location-as-a-mapped-drive-in-windows/#comments</comments>
		<pubDate>Mon, 02 May 2011 15:36:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=36</guid>
		<description><![CDATA[A super simple way to map a FTP site as a drive in your windows installation is to get a simple free program called Netdrive. With Netdrive just download it at the following link: http://www.netdrive.net/ The run and install it. open it up and add a newsite and enter your information for your ftp location [...]]]></description>
			<content:encoded><![CDATA[<p>A super simple way to map a FTP site as a drive in your windows installation is to get a simple free program called Netdrive.</p>
<p>With Netdrive just download it at the following link: http://www.netdrive.net/</p>
<p>The run and install it.</p>
<p>open it up and add a newsite and enter your information for your ftp location and pick a drive letter you will then have a drive on your machine that links directly to your FTP location.</p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/05/add-a-ftp-location-as-a-mapped-drive-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to watch StarWars from the command line</title>
		<link>http://citycorpse.com/2011/04/how-to-watch-starwars-from-the-command-line/</link>
		<comments>http://citycorpse.com/2011/04/how-to-watch-starwars-from-the-command-line/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 02:53:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=30</guid>
		<description><![CDATA[From any command line inter face run the following line telnet towel.blinkenlights.nl This has been around for a very long time. If it does not work make sure telnet is enabled.]]></description>
			<content:encoded><![CDATA[<p>From any command line inter face run the following line</p>
<p><em>telnet towel.blinkenlights.nl</em></p>
<p>This has been around for a very long time. If it does not work make sure telnet is enabled.</p>
<p><a href="http://citycorpse.com/wp-content/uploads/2011/04/starwars.png"><img class="alignnone size-medium wp-image-31" title="starwars" src="http://citycorpse.com/wp-content/uploads/2011/04/starwars-300x182.png" alt="" width="300" height="182" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/04/how-to-watch-starwars-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 delete the first mailbox database</title>
		<link>http://citycorpse.com/2011/04/exchange-2010-delete-the-first-mailbox-database/</link>
		<comments>http://citycorpse.com/2011/04/exchange-2010-delete-the-first-mailbox-database/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 02:14:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=28</guid>
		<description><![CDATA[After you&#8217;ve installed a new Exchange 2010 environment and you try to delete the first automatically created mailbox database, you&#8217;ll receive the following error. ———————————————————————————— The mailbox database &#8216;DB01′ cannot be deleted. DB01 Failed Error: This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this [...]]]></description>
			<content:encoded><![CDATA[<p>After you&#8217;ve installed a new Exchange 2010 environment and you try to delete the first automatically created mailbox database, you&#8217;ll receive the following error.</p>
<p>————————————————————————————<br />
The mailbox database &#8216;DB01′ cannot be deleted.</p>
<p>DB01<br />
Failed<br />
Error:<br />
This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. Arbitration mailboxes should be moved to another server; run the command Move-Mailbox <Mailbox ID> -Arbitration -TargetDatabase <Database ID>.  To remove the arbitration mailbox if this is the last server in the organization, run the command Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLastArbitrationMailboxAllowed.<br />
————————————————————————————</p>
<p>You cannot remove the database, because there are some mailboxes in it. Ok….let&#8217;s have look what mailboxes are left in this mailbox database.</p>
<p>Get-Mailbox -Database DB01</p>
<p>As you can see, there are no mailboxes left in de mailbox database, but why we are still receiving this error!! This is the answer…….there are two hidden mailboxes left in de mailbox database, called arbitration mailboxes. With the following command you&#8217;re able to see this mailboxes</p>
<p>Get-Mailbox -Database DB01 -Arbitration | ft -wrap -auto</p>
<p>When you move these two mailboxes to another mailbox database, all the error messages are gone! So let&#8217;s do that!</p>
<p>New-MoveRequest &#8220;SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}&#8221;  -TargetDatabase DB02<br />
New-MoveRequest &#8220;SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}&#8221;  -TargetDatabase DB02</p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/04/exchange-2010-delete-the-first-mailbox-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G33k facebook</title>
		<link>http://citycorpse.com/2011/04/g33k-facebook/</link>
		<comments>http://citycorpse.com/2011/04/g33k-facebook/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 19:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BASH]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=24</guid>
		<description><![CDATA[this is by far the nerdiest way to check your facebook ever. fbbash.nogoodatcoding.com It is a Bash version of facebook so you can check everything command line (much like this site) Just though I would share this super awesome find.]]></description>
			<content:encoded><![CDATA[<p>this is by far the nerdiest way to check your facebook ever.</p>
<p>fbbash.nogoodatcoding.com</p>
<p>It is a Bash version of facebook so you can check everything command line (much like this site) Just though I would share this super awesome find.</p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/04/g33k-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 SP1 Sort Top Mailbox by size</title>
		<link>http://citycorpse.com/2011/04/exchange-2010-sp1-sort-top-mailbox-by-size/</link>
		<comments>http://citycorpse.com/2011/04/exchange-2010-sp1-sort-top-mailbox-by-size/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 02:22:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=20</guid>
		<description><![CDATA[This is a very useful script to see which mailboxes are using the most space. Get-Mailbox -database DB100 &#124; Get-MailboxStatistics &#124; Sort-Object TotalItemSize -descending &#124;Select-Object DisplayName,ItemCount,@{name="MailboxSize";exp={$_.totalitemsize}} -first 10]]></description>
			<content:encoded><![CDATA[<p>This is a very useful script to see which mailboxes are using the most space.</p>
<p><code><br />
</code></p>
<p><code>Get</code><code>-Mailbox</code> <code>-database</code> <code>DB100 | Get</code><code>-MailboxStatistics</code> <code>| </code><code>Sort-Object</code> <code>TotalItemSize </code><code>-descending</code> <code>|</code><code>Select-Object</code> <code>DisplayName,ItemCount,@{name=</code><code>"MailboxSize"</code><code>;exp={$_.totalitemsize}} </code><code>-first</code> <code>10</code></p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/04/exchange-2010-sp1-sort-top-mailbox-by-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell check what hot fixes are applied</title>
		<link>http://citycorpse.com/2011/04/powershell-check-what-hot-fixes-are-applied/</link>
		<comments>http://citycorpse.com/2011/04/powershell-check-what-hot-fixes-are-applied/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 02:13:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=18</guid>
		<description><![CDATA[Hello to check which hot fixes are applied to a machine run the following command from within powershell. Get-Hotfix -Description security* &#124; Format-Table Hotfixid,InstalledOn &#160; hopefully this helps with some troubleshooting]]></description>
			<content:encoded><![CDATA[<p>Hello to check which hot fixes are applied to a machine run the following command from within powershell.</p>
<p><em>Get-Hotfix -Description security* | Format-Table Hotfixid,InstalledOn</em></p>
<p>&nbsp;</p>
<p>hopefully this helps with some troubleshooting<em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/2011/04/powershell-check-what-hot-fixes-are-applied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is just the beginning</title>
		<link>http://citycorpse.com/1902/04/hello-world/</link>
		<comments>http://citycorpse.com/1902/04/hello-world/#comments</comments>
		<pubDate>Sat, 26 Apr 1902 20:02:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://citycorpse.com/?p=1</guid>
		<description><![CDATA[Welcome to blog on everything from Microsoft Exchange to Linux and back to Powershell. Have fun and figure this craziness out.]]></description>
			<content:encoded><![CDATA[<p>Welcome to blog on everything from Microsoft Exchange to Linux and back to Powershell.</p>
<p>Have fun and figure this craziness out.</p>
<p><a href="http://citycorpse.com/wp-content/uploads/2011/04/tux1.png"><img class="alignnone size-full wp-image-16" title="tux" src="http://citycorpse.com/wp-content/uploads/2011/04/tux1.png" alt="" width="116" height="128" /></a></p>
<p><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace;"><span style="font-size: 12px; line-height: 18px; white-space: pre;"><br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://citycorpse.com/1902/04/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

