<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://exchangeexchange.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>Quick PowerShell Tip using Get-MailboxStatistics</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx</link><description>I saw this question over on the Ask a Question Page at the Exchange Ninjas site and decided that I should spend time away from my backlog of other work and answer the question instead. Q: We need to get the users list from PowerShell sorting by database</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Quick PowerShell Tip using Get-MailboxStatistics</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx#1410</link><pubDate>Wed, 05 Aug 2009 21:27:55 GMT</pubDate><guid isPermaLink="false">44d5531b-108b-4aea-a889-7316a6b4a5fa:1410</guid><dc:creator>Joel Stidley</dc:creator><description>&lt;p&gt;Chris, you might be able to use the Quest AD PowerShell or perhaps the Windows 2008 R2 cmdlets. Off the top you might be able to run: get-QADUser -SearchRoot &amp;#39;company.com/UsersOU&amp;#39; | Get-MailboxStatistics | where-object {$_.LastLogonTime -lt &amp;#39;12/23/2007&amp;#39;} | sort-object DatabaseName, TotalItemSize,LastLogonTime | &amp;nbsp;format-table &amp;nbsp;DisplayName, @{expression={$_.TotalItemSize.Value.ToMB()};label=&amp;quot;TotalItemSize(MB)&amp;quot;}, LastLogonTime, DatabaseName&lt;/p&gt;
&lt;p&gt;you would do this for each OU, there are other things you could do to customize that.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://exchangeexchange.com/aggbug.aspx?PostID=1410" width="1" height="1"&gt;</description></item><item><title>re: Quick PowerShell Tip using Get-MailboxStatistics</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx#1407</link><pubDate>Wed, 29 Jul 2009 17:47:56 GMT</pubDate><guid isPermaLink="false">44d5531b-108b-4aea-a889-7316a6b4a5fa:1407</guid><dc:creator>chris.trotter@gmail.com</dc:creator><description>&lt;p&gt;I am interested in using a script like this, sorting by OU and then by TotalItemSize, but I cannot manage to make it work. &amp;nbsp;Suggestions?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://exchangeexchange.com/aggbug.aspx?PostID=1407" width="1" height="1"&gt;</description></item><item><title>re: Quick PowerShell Tip using Get-MailboxStatistics</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx#1188</link><pubDate>Wed, 23 Jul 2008 19:02:21 GMT</pubDate><guid isPermaLink="false">44d5531b-108b-4aea-a889-7316a6b4a5fa:1188</guid><dc:creator>Joel Stidley</dc:creator><description>&lt;p&gt;ckemppel,&lt;/p&gt;
&lt;p&gt;Which specific attributes are you looking to add?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://exchangeexchange.com/aggbug.aspx?PostID=1188" width="1" height="1"&gt;</description></item><item><title>re: Quick PowerShell Tip using Get-MailboxStatistics</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx#1187</link><pubDate>Wed, 23 Jul 2008 17:39:06 GMT</pubDate><guid isPermaLink="false">44d5531b-108b-4aea-a889-7316a6b4a5fa:1187</guid><dc:creator>ckemppel</dc:creator><description>&lt;p&gt;Hi Joel, the question asked is the same question I have; &amp;nbsp;While your script addresses part of the question it does not achieve the required result of merging the &amp;nbsp;&amp;quot;get-mailbox &amp;quot;and &amp;quot;get-mailboxstatistics&amp;quot; output into a single table so that the Alias and any other parameters desired from the get-mailbox command are available, have you had any further progress on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://exchangeexchange.com/aggbug.aspx?PostID=1187" width="1" height="1"&gt;</description></item><item><title>They say it better than I can...</title><link>http://exchangeexchange.com/blogs/joel.stidley/archive/2008/02/22/quick-powershell-tip-using-get-mailboxstatistics.aspx#1133</link><pubDate>Mon, 02 Jun 2008 08:23:15 GMT</pubDate><guid isPermaLink="false">44d5531b-108b-4aea-a889-7316a6b4a5fa:1133</guid><dc:creator>Dougs Blog &gt;&gt; Exchange Server in the field</dc:creator><description>&lt;p&gt;Just want to point you to a few blog articles I have read recently just in case your search doesn't reveal&lt;/p&gt;
&lt;img src="http://exchangeexchange.com/aggbug.aspx?PostID=1133" width="1" height="1"&gt;</description></item></channel></rss>