<?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>ExchangeBlog </title>
	<atom:link href="http://exchangeblog.pl/en/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://exchangeblog.pl/en/</link>
	<description>Blog technologii MS Exchange Server</description>
	<lastBuildDate>Sun, 01 Nov 2015 19:55:03 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Exchange 2010 count mailbox mobile devices partnership</title>
		<link>http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/</link>
		<comments>http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/#comments</comments>
		<pubDate>Mon, 20 Jan 2014 11:34:24 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[ActiveSync @en]]></category>
		<category><![CDATA[EASMaxDevices @en]]></category>
		<category><![CDATA[Exchange 2010 @en]]></category>
		<category><![CDATA[Mobile Device @en]]></category>
		<category><![CDATA[ThrottlingPolicy @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=4677</guid>
		<description><![CDATA[In Exchange Server environment where is a limit of ActiveSync partnership with mailbox. When you reach this limit then you won&#8217;t be able to connect any new devices to the mailbox. This limit is set in ThrottlingPolicy using parameter EASMaxDevices To check current setting of EASMaxDevices, open Exchange Management Shell and run: Get-ThrottlingPolicy &#124; … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>In Exchange Server environment where is a limit of ActiveSync partnership with mailbox.</p>
<p>When you reach this limit then you won&#8217;t be able to connect any new devices to the mailbox.</p>
<p>This limit is set in <em><strong>ThrottlingPolicy</strong></em> using parameter <strong>EASMaxDevices</strong></p>
<p>To check current setting of EASMaxDevices, open <strong>Exchange Management Shell</strong> and run:</p>
<pre>Get-ThrottlingPolicy | select name, EASMaxDevices, EASMaxConcurrency</pre>
<p>&nbsp;</p>
<p>As a result you will get all ThrottlingPolicies available in Exchange environment and how many mobile devices can you connect to the mailbox, and also using EASMaxConcurrency you will see how many connections in one time can be accepted to the mailbox.</p>
<p>&nbsp;</p>
<p><a href="http://exchangeblog.pl/wp-content/uploads/2014/01/easmaxdevices.png"><img alt="easmaxdevices" src="http://exchangeblog.pl/wp-content/uploads/2014/01/easmaxdevices.png" width="601" height="92" /></a></p>
<p>(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/">Exchange 2010 count mailbox mobile devices partnership</a> (255 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2014. |
<a href="http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/&amp;title=Exchange 2010 count mailbox mobile devices partnership">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/activesync-en/" rel="tag">ActiveSync</a>, <a href="http://exchangeblog.pl/en/tag/easmaxdevices-en/" rel="tag">EASMaxDevices</a>, <a href="http://exchangeblog.pl/en/tag/exchange-2010-en/" rel="tag">Exchange 2010</a>, <a href="http://exchangeblog.pl/en/tag/mobile-device-en/" rel="tag">Mobile Device</a>, <a href="http://exchangeblog.pl/en/tag/throttlingpolicy-en/" rel="tag">ThrottlingPolicy</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2014/01/exchange-2010-count-mailbox-mobile-devices-partnership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 get list of mailboxes with logon time information</title>
		<link>http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/</link>
		<comments>http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 00:22:19 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Exchange 2010 @en]]></category>
		<category><![CDATA[LastLogonTime @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3618</guid>
		<description><![CDATA[Below you can find script which will return all mailboxes where LastLogonTime is older than 90 days ago. You can easly set this date in variable $days. &#160; Function New-Array {,$args} $Report = New-Array $days = "90" $date_last = (Get-Date).AddDays(-$days) $mailboxes = Get-Mailbox -server mxmbx01 -ResultSize unlimited foreach($mailbox in $mailboxes) … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>Below you can find script which will return all mailboxes where LastLogonTime is older than 90 days ago.</p>
<p>You can easly set this date in variable $days.</p>
<p>&nbsp;</p>
<pre>Function New-Array {,$args}
$Report = New-Array

$days = "90"

$date_last = (Get-Date).AddDays(-$days) 
$mailboxes = Get-Mailbox -server mxmbx01 -ResultSize unlimited

foreach($mailbox in $mailboxes) 
{ 
  $mbx_DN = $mailbox.DistinguishedName 
  $email = $mailbox.PrimarySmtpAddress.toString()
  $Stat = Get-MailboxStatistics -Identity $mbx_DN | Where-Object {$_.lastLogonTime -lt $date_last} | Select-Object DisplayName, totalitemsize,LastLogonTime

 if ($Stat){
  $tmp = New-Object System.Object
  $tmp | Add-Member -type NoteProperty -name DisplayName -value $($stat.DisplayName)
  $tmp | Add-Member -type NoteProperty -name Email -value $email
  $tmp | Add-Member -type NoteProperty -name TotalSize_MB -value $($stat.TotalitemSize.value.ToMB())
  $tmp | Add-Member -type NoteProperty -name LastLogon -value $($stat.LastLogonTime)
  $Report += $tmp
 }
}
$Report | Export-Csv D:\Scripts\lastlogon_report.csv</pre>
<p>&nbsp;</p>
<p>As a result of this script, you will get .csv file, with informations DisplayName, email address, size of mailbox in MB, and last logon time.<span style="font-size: 16px;"><br />
</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="printfriendly pf-alignleft"><a href="http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/?pfstyle=wp" rel="nofollow"  class="noslimstat"><img style="border:none;-webkit-box-shadow:none; box-shadow:none;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print Friendly" /></a></div></div><hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/&amp;title=Exchange 2010 get list of mailboxes with logon time information">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/exchange-2010-en/" rel="tag">Exchange 2010</a>, <a href="http://exchangeblog.pl/en/tag/lastlogontime-en/" rel="tag">LastLogonTime</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/04/exchange-2010-get-list-of-mailboxes-with-logon-time-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distribution Groups nested &#8211; get list only groups</title>
		<link>http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/</link>
		<comments>http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 04:34:07 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[Get-DistributionGroupMember @en]]></category>
		<category><![CDATA[nested @en]]></category>
		<category><![CDATA[Quest @en]]></category>
		<category><![CDATA[Script @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3515</guid>
		<description><![CDATA[Recently, we described how to obtain a list of all mailboxes in the group that has nested distribution groups. Unfortunately, using this method, you can not get a list of groups in a distribution group, only users (mailboxes). To obtain this list, you need to write more or less complicated … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>Recently, we described how to obtain a list of all mailboxes in the group that has nested distribution groups.</p>
<p>Unfortunately, using this method, you can not get a list of groups in a distribution group, only users (mailboxes).</p>
<p>To obtain this list, you need to write more or less complicated powershell script or use the additive<span style="font-size: 16px;"> </span><a style="font-size: 16px;" title="Quest Powershell Module for Active Directory" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank"><strong>Quest Powershell Module for Active Directory</strong></a><span style="font-size: 16px;">.</span></p>
<p>&nbsp;</p>
<p>After installation of Quest Module, run powershell console and run:</p>
<pre>add-PSSnapin quest.activeroles.admanagement</pre>
<p><img title="Więcej..." alt="" src="http://exchangeblog.pl/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" /></p>
<p>(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/">Distribution Groups nested &#8211; get list only groups</a> (106 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/&amp;title=Distribution Groups nested &#8211; get list only groups">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/distribution/" rel="tag">distribution</a>, <a href="http://exchangeblog.pl/en/tag/get-distributiongroupmember-en/" rel="tag">Get-DistributionGroupMember</a>, <a href="http://exchangeblog.pl/en/tag/nested-en/" rel="tag">nested</a>, <a href="http://exchangeblog.pl/en/tag/powershell-en/" rel="tag">PowerShell</a>, <a href="http://exchangeblog.pl/en/tag/quest-en/" rel="tag">Quest</a>, <a href="http://exchangeblog.pl/en/tag/script-en/" rel="tag">Script</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/04/distribution-groups-nested-get-list-only-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get distribution group all members &#8211; nested</title>
		<link>http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/</link>
		<comments>http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/#comments</comments>
		<pubDate>Thu, 04 Apr 2013 04:35:55 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Distribution Group @en]]></category>
		<category><![CDATA[Exchange distribution group @en]]></category>
		<category><![CDATA[Get-DistributionGroup @en]]></category>
		<category><![CDATA[Get-DistributionGroupMember @en]]></category>
		<category><![CDATA[nested @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3499</guid>
		<description><![CDATA[How can we get a list of mailboxes belonging to a distribution group? In a simple way, by using the EMC console and check who is a member of a group, or by using powershell EMS console and use the command: Get-DistributionGroupMember Test_Group &#160; In this way we get a … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>How can we get a list of mailboxes belonging to a distribution group?<br />
In a simple way, by using the EMC console and check who is a member of a group, or by using powershell EMS console and use the command:</p>
<pre>Get-DistributionGroupMember Test_Group</pre>
<p>&nbsp;</p>
<p>In this way we get a list of objects in the group, both mailboxes, contacts, and other groups.</p>
<p>And here there is a problem, because if the distribution group includes the next distribution group, and this again next etc, how can we get a list of all people who receive an email after sending a message to a distribution group?</p>
<p>Unfortunately, using only the <strong>Get-DistributionGroupMember</strong> we won&#8217;t get such information.</p>
<p>This command returns only the objects directly in a group, without nesting.</p>
<p>In this case, we have to use PowerShell commands for Active Directory available.</p>
<p>To do this run EMS console and import the Active Directory module command as follows:</p>
<pre>import-module ActiveDirectory</pre>
<p><img title="Więcej..." alt="" src="http://exchangeblog.pl/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" />(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/">Get distribution group all members &#8211; nested</a> (171 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/&amp;title=Get distribution group all members &#8211; nested">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/distribution-group-en/" rel="tag">Distribution Group</a>, <a href="http://exchangeblog.pl/en/tag/exchange-distribution-group-en/" rel="tag">Exchange distribution group</a>, <a href="http://exchangeblog.pl/en/tag/get-distributiongroup-en/" rel="tag">Get-DistributionGroup</a>, <a href="http://exchangeblog.pl/en/tag/get-distributiongroupmember-en/" rel="tag">Get-DistributionGroupMember</a>, <a href="http://exchangeblog.pl/en/tag/nested-en/" rel="tag">nested</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/04/get-distribution-group-all-members-nested/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 list connections to OWA</title>
		<link>http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/</link>
		<comments>http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 04:18:43 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Exchange 2010 @en]]></category>
		<category><![CDATA[Log Parser @en]]></category>
		<category><![CDATA[OWA @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3461</guid>
		<description><![CDATA[If you want to get to know how your users are using OWA to connect to mailboxes you can use following two solutions. In any environment where Microsoft Exchange OWA service is enabled for user mailboxes, we can check how many users actually use OWA access through their mailboxes. The … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>If you want to get to know how your users are using OWA to connect to mailboxes you can use following two solutions.</p>
<p>In any environment where Microsoft Exchange OWA service is enabled for user mailboxes, we can check how many users actually use OWA access through their mailboxes.</p>
<p>The first solution presents how to check the number of current connections to the mailbox using OWA.</p>
<p>For this purpose, we need to run this script by calling the Get-CASActiveUsers for all servers that provide OWA connections, so mostly for all CAS servers.</p>
<p>&nbsp;</p>
<p>Following script will list all current connections to OWA and RPC on CAS servers:</p>
<p>&nbsp;</p>
<p><img title="Więcej..." alt="" src="http://exchangeblog.pl/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" />(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/">Exchange 2010 list connections to OWA</a> (306 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/&amp;title=Exchange 2010 list connections to OWA">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/exchange-2010-en/" rel="tag">Exchange 2010</a>, <a href="http://exchangeblog.pl/en/tag/log-parser-en/" rel="tag">Log Parser</a>, <a href="http://exchangeblog.pl/en/tag/owa-en/" rel="tag">OWA</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/03/exchange-2010-list-connections-to-owa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Exchange get sent emails list &#8211; messagetrackinglog</title>
		<link>http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/</link>
		<comments>http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 00:01:34 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Exchange 2010 @en]]></category>
		<category><![CDATA[Get-MessageTrackingLog @en]]></category>
		<category><![CDATA[Get-TransportServer @en]]></category>
		<category><![CDATA[Script @en]]></category>
		<category><![CDATA[Sent emails statistics @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3394</guid>
		<description><![CDATA[Recently we wrote about how to find all the all recipients of the email: Exchange MessageTrackingLogs get recipients list &#160; &#160; Now we will present a powershell script that will help us generate statistics of sent emails. &#160; However, we are not interested in the amount of all outgoing e-mails, … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p><a href="http://exchangeblog.pl/2013/03/exchange-2010-statystyka-wysylanych-emaili-messagetrackinglog/email/" rel="attachment wp-att-3396"><img class="alignright size-full wp-image-3396" alt="email" src="http://exchangeblog.pl/wp-content/uploads/2013/03/email.jpg" width="320" height="227" /></a>Recently we wrote about how to find all the all recipients of the email:</p>
<p><a title="Exchange MessageTrackingLogs get recipients list" href="http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/" target="_blank"><strong>Exchange MessageTrackingLogs get recipients list</strong></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now we will present a powershell script that will help us generate statistics of sent emails.</p>
<p>&nbsp;</p>
<p>However, we are not interested in the amount of all outgoing e-mails, their size, but we will focus on emails sent outside of our Exchange organization and get information about the addresses from which they were sent, with which the subject, how many of these emails and how many recipients receive those emails.</p>
<p>This script allows you to obtain information about the senders e-mail addresses that send many messages out.<br />
This script is based on checking the Transport Logs located on Exchange servers with the Hub Transport roles.</p>
<p>After receiving the results of the script you can use the script in the previous post and find out to whom the message was sent, then you will get list of all recipients of this email.</p>
<p>&nbsp;</p>
<p>Below we explain how this script work.:</p>
<p>First script part conatins:</p>
<ul>
<li>powershell object definitions</li>
<li>paths to output files with emails statistic</li>
<li>settings to send email with alert to admin</li>
<li>$MAX_Recipients &#8211; number of recipients which define when to generate alert sent by email</li>
</ul>
<p>&nbsp;</p>
<pre>Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Set-AdServerSettings -ViewEntireForest $True

Function New-Array {,$args}

$Report = New-Array
$Report_SMTP = New-Array
$Rep_sum = New-Array
$Rep_SMTP_sum = New-Array

$data = $($((get-date).adddays(-1)).ToString('yyyy.MM.dd'))

#paths to output files
$Out_Rep_file = "d:\Scripts\Logs\Stats\msg_stat_out_$data.csv"
$Out_Rep_sum_file = "d:\Scripts\Logs\Stats\msg_stat_out_sum_$data.csv"

#files with emails with smtp traffic
$Out_Rep_SMTP_file = "d:\Scripts\Logs\Stats\msg_stat_smtp_out_$data.csv"
$Out_Rep_SMTP_sum_file = "d:\Scripts\Logs\Stats\msg_stat_smtp_out_sum_$data.csv"
#file with report attached to email (emails recipients grater than $MAX_Recipients)
$Email_HTML_File = "d:\Scripts\Logs\Stats\Report_outgoing_emails_$data.htm"

#settings for email with report
$mail_from = "exchangereport@domain.com"
$mail_to = "admin@domain.com"
$mail_smtp_host = "smtpserver.domain.local"
$mail_subject = "Report outgoing emails $data"

#variable that defines the threshold for recipients to write to email report
$MAX_Recipients = 100</pre>
<p><img title="Więcej..." alt="" src="http://exchangeblog.pl/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" />(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/">Microsoft Exchange get sent emails list &#8211; messagetrackinglog</a> (1,085 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/&amp;title=Microsoft Exchange get sent emails list &#8211; messagetrackinglog">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/exchange-2010-en/" rel="tag">Exchange 2010</a>, <a href="http://exchangeblog.pl/en/tag/get-messagetrackinglog-en/" rel="tag">Get-MessageTrackingLog</a>, <a href="http://exchangeblog.pl/en/tag/get-transportserver-en/" rel="tag">Get-TransportServer</a>, <a href="http://exchangeblog.pl/en/tag/script-en/" rel="tag">Script</a>, <a href="http://exchangeblog.pl/en/tag/sent-emails-statistics-en/" rel="tag">Sent emails statistics</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/03/microsoft-exchange-get-sent-emails-list-messagetrackinglog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange MessageTrackingLogs get recipients list</title>
		<link>http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/</link>
		<comments>http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 01:02:41 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Get-MessageTra]]></category>
		<category><![CDATA[Get-TransportServer @en]]></category>
		<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Recipient List @en]]></category>
		<category><![CDATA[Script @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3372</guid>
		<description><![CDATA[From time to time we need to get a list of all persons to whom the email was sent with a given subject. The list of recipients in a fairly simple way we can get from the transaction logs which are located on Exchange servers with HT roles. Of course, … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>From time to time we need to get a list of all persons to whom the email was sent with a given subject.</p>
<p>The list of recipients in a fairly simple way we can get from the transaction logs which are located on Exchange servers with HT roles.</p>
<p>Of course, before you do this, you have to configure your environment so that the transaction logs are kept for a few days on the servers.</p>
<p>The following script returns a list of recipients to whom the email was sent with the subject &#8220;Test mail&#8221;, but we are interested in the time of dispatch of the last day.</p>
<p>Number of days is defined in $DAYS and subject in $SUBJECT.</p>
<p>Script you can find below:</p>
<p>(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/">Exchange MessageTrackingLogs get recipients list</a> (188 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/&amp;title=Exchange MessageTrackingLogs get recipients list">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/get-messagetra/" rel="tag">Get-MessageTra</a>, <a href="http://exchangeblog.pl/en/tag/get-transportserver-en/" rel="tag">Get-TransportServer</a>, <a href="http://exchangeblog.pl/en/tag/powershell-en/" rel="tag">PowerShell</a>, <a href="http://exchangeblog.pl/en/tag/recipient-list-en/" rel="tag">Recipient List</a>, <a href="http://exchangeblog.pl/en/tag/script-en/" rel="tag">Script</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/03/exchange-messagetrackinglogs-get-recipients-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List Exchange mailbox folder permissions &#8211; script</title>
		<link>http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/</link>
		<comments>http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 20:30:36 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Get-MailboxFolderPermission @en]]></category>
		<category><![CDATA[Get-MailboxFolderStatistics @en]]></category>
		<category><![CDATA[Script @en]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=3346</guid>
		<description><![CDATA[Sometimes you add permissions to mailbox folders for other users. You can check permission to mailbox folder using Outlook but then you need to check each folder. If you want to get list of permissions assigned for users to specified mailbox folders you can use below script. In this script … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>Sometimes you add permissions to mailbox folders for other users.</p>
<p>You can check permission to mailbox folder using Outlook but then you need to check each folder.</p>
<p>If you want to get list of permissions assigned for users to specified mailbox folders you can use below script.</p>
<p>In this script we use <strong>Get-MailboxFolderStatistics </strong>to get list of mailbox folders and subfolders, and  <strong>Get-MailboxFolderPermission</strong> to get permissions assigned to those folders and subfolders.</p>
<p>When we connect both commands we will get script which will list all permissions assigned to all folders and subfolders in mailbox.</p>
<p>To check specified mailbox, assign mailbox alias or smtp address to variable $MBX_tocheck</p>
<p>(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/">List Exchange mailbox folder permissions &#8211; script</a> (288 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2013. |
<a href="http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/#comments">20 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/&amp;title=List Exchange mailbox folder permissions &#8211; script">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/en/tag/get-mailboxfolderpermission-en/" rel="tag">Get-MailboxFolderPermission</a>, <a href="http://exchangeblog.pl/en/tag/get-mailboxfolderstatistics-en/" rel="tag">Get-MailboxFolderStatistics</a>, <a href="http://exchangeblog.pl/en/tag/script-en/" rel="tag">Script</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2013/03/list-exchange-mailbox-folder-permissions-script/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 get information about mailbox size</title>
		<link>http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/</link>
		<comments>http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/#comments</comments>
		<pubDate>Wed, 12 Sep 2012 05:09:47 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[Exchange Management Shell]]></category>
		<category><![CDATA[Get-Mailbox]]></category>
		<category><![CDATA[Mailbox size]]></category>
		<category><![CDATA[Microsoft Exchange 2010]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=694</guid>
		<description><![CDATA[Information about the amount of space that occupies a particular mailbox, we can easily preview the Exchange Management Console. Unfortunately, if we want to get more information about the mailboxes, or mailboxes that meet that special condition, the realization of such a task in the EMC will be very time consuming. … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>Information about the amount of space that occupies a particular mailbox, we can easily preview the Exchange Management Console.</p>
<p>Unfortunately, if we want to get more information about the mailboxes, or mailboxes that meet that special condition, the realization of such a task in the EMC will be very time consuming.</p>
<p>In such a case comes to us from the console using the Exchange Management Shell (EMS) in which the PowerShell commands, we can get a lot of interesting information on the mailboxes located on Microsoft Exchange.</p>
<p>Display all information about the mailbox:</p>
<pre>Get-MailboxStatistics john.smith@domena.com | FL</pre>
<p><img title="Więcej..." src="http://exchangeblog.pl/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" />(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/">Exchange 2010 get information about mailbox size</a> (188 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2012. |
<a href="http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/&amp;title=Exchange 2010 get information about mailbox size">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/tag/emc/" rel="tag">EMC</a>, <a href="http://exchangeblog.pl/tag/exchange-management-shell/" rel="tag">Exchange Management Shell</a>, <a href="http://exchangeblog.pl/en/tag/get-mailbox/" rel="tag">Get-Mailbox</a>, <a href="http://exchangeblog.pl/en/tag/mailbox-size/" rel="tag">Mailbox size</a>, <a href="http://exchangeblog.pl/tag/microsoft-exchange-2010/" rel="tag">Microsoft Exchange 2010</a>, <a href="http://exchangeblog.pl/tag/powershell/" rel="tag">PowerShell</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2012/09/exchange-2010-get-information-about-mailbox-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Powershell how to count mailboxes</title>
		<link>http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/</link>
		<comments>http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/#comments</comments>
		<pubDate>Wed, 05 Sep 2012 08:00:35 +0000</pubDate>
		<dc:creator><![CDATA[Remigiusz Szatkowski]]></dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[PowerShell @en]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[EMS]]></category>
		<category><![CDATA[Exchange Management Shell]]></category>
		<category><![CDATA[Get-Mailbox]]></category>
		<category><![CDATA[mailboxes count]]></category>
		<category><![CDATA[Microsoft Exchange 2010]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://exchangeblog.pl/?p=681</guid>
		<description><![CDATA[We often encounter the need to determine how many mailboxes in a given time is in different databases or around the Microsoft Exchange Server. Such information can be easily obtained by using the Exchange Management Shell cmdlets for Exchange 2010. Examples of use: Determination of the number of all mailboxes … <a class="continue-reading-link" href="http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<div class="pf-content"><p>We often encounter the need to determine how many mailboxes in a given time is in different databases or around the Microsoft Exchange Server.</p>
<p>Such information can be easily obtained by using the Exchange Management Shell cmdlets for Exchange 2010.</p>
<p><strong>Examples of use:</strong></p>
<p>Determination of the number of all mailboxes in an Exchange Organization</p>
<p>&nbsp;</p>
<pre>(Get-Mailbox -ResultSize unlimited).count</pre>
<p>ResultSize option we use if our Exchange environment has more than 1000 mailboxes</p>
<p>Number of mailboxes in different databases:</p>
<pre>Get-Mailbox -ResultSize unlimited | Group-Object -Property:Database | Select-Object Name,Count</pre>
<p>(...)<br/>Read the rest of <a href="http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/">Exchange 2010 Powershell how to count mailboxes</a> (79 words)</p>
<hr />
<p><small>&copy; Remigiusz Szatkowski for <a href="http://exchangeblog.pl/en/">ExchangeBlog</a>, 2012. |
<a href="http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/">Permalink</a> |
<a href="http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/&amp;title=Exchange 2010 Powershell how to count mailboxes">del.icio.us</a>
<br/>
Post tags: <a href="http://exchangeblog.pl/tag/ems/" rel="tag">EMS</a>, <a href="http://exchangeblog.pl/tag/exchange-management-shell/" rel="tag">Exchange Management Shell</a>, <a href="http://exchangeblog.pl/en/tag/get-mailbox/" rel="tag">Get-Mailbox</a>, <a href="http://exchangeblog.pl/en/tag/mailboxes-count/" rel="tag">mailboxes count</a>, <a href="http://exchangeblog.pl/tag/microsoft-exchange-2010/" rel="tag">Microsoft Exchange 2010</a>, <a href="http://exchangeblog.pl/tag/powershell/" rel="tag">PowerShell</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://exchangeblog.pl/en/2012/09/exchange-2010-powershell-how-to-count-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
