<?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>AideXchange &#187; Exchange 2007</title>
	<atom:link href="http://aidexchange.fr/tag/exchange-2007/feed" rel="self" type="application/rss+xml" />
	<link>http://aidexchange.fr</link>
	<description>L&#039;administration avec PowerShell.</description>
	<lastBuildDate>Mon, 21 May 2012 20:19:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ajouter une adresse SMTP secondaire</title>
		<link>http://aidexchange.fr/exchange-2007/ajouter-une-adresse-smtp-secondaire.html</link>
		<comments>http://aidexchange.fr/exchange-2007/ajouter-une-adresse-smtp-secondaire.html#comments</comments>
		<pubDate>Mon, 21 May 2012 20:19:36 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Adresse]]></category>
		<category><![CDATA[Ajout]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=2952</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Un script Powershell pour ajouter une adresse SMTP secondaire sur un boite aux lettre. $mailbox = Read-Host &#34;Please enter the alias&#34; $smtp = Read-Host &#34;Please enter the secondary SMTP address&#34; $asmtp = &#34;SMTP:&#34; + $smtp $asmtp &#160; $user = get-mailbox -Identity $mailbox $a = $user.emailaddresses $b += $asmtp $b Related posts: Retrouver une boite par [...]
Related posts:<ol>
<li><a href='http://aidexchange.fr/exchange-2007/retrouver-une-boite-par-son-adresse-smtp.html' rel='bookmark' title='Retrouver une boite par son adresse SMTP.'>Retrouver une boite par son adresse SMTP.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajouter-fullaccess-sendas-sur-une-boite.html' rel='bookmark' title='Ajouter FullAccess et SendAs sur une boite.'>Ajouter FullAccess et SendAs sur une boite.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/importer-adresses-secondaire-boites.html' rel='bookmark' title='Importer une adresses secondaire sur des boites.'>Importer une adresses secondaire sur des boites.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Un script Powershell pour ajouter une adresse SMTP secondaire sur un boite aux lettre.</p>

<div class="wp_codebox"><table><tr id="p29522"><td class="code" id="p2952code2"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$mailbox</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Please enter the alias&quot;</span>
<span style="color: #800080;">$smtp</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Please enter the secondary SMTP address&quot;</span>
<span style="color: #800080;">$asmtp</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;SMTP:&quot;</span> <span style="color: pink;">+</span> <span style="color: #800080;">$smtp</span>
<span style="color: #800080;">$asmtp</span>
&nbsp;
<span style="color: #800080;">$user</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">get-mailbox</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800080;">$mailbox</span>
<span style="color: #800080;">$a</span> <span style="color: pink;">=</span> <span style="color: #800080;">$user</span>.emailaddresses
<span style="color: #800080;">$b</span> <span style="color: pink;">+=</span> <span style="color: #800080;">$asmtp</span>
$b</pre></td></tr></table></div>

<p>Related posts:<ol>
<li><a href='http://aidexchange.fr/exchange-2007/retrouver-une-boite-par-son-adresse-smtp.html' rel='bookmark' title='Retrouver une boite par son adresse SMTP.'>Retrouver une boite par son adresse SMTP.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajouter-fullaccess-sendas-sur-une-boite.html' rel='bookmark' title='Ajouter FullAccess et SendAs sur une boite.'>Ajouter FullAccess et SendAs sur une boite.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/importer-adresses-secondaire-boites.html' rel='bookmark' title='Importer une adresses secondaire sur des boites.'>Importer une adresses secondaire sur des boites.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/ajouter-une-adresse-smtp-secondaire.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Envoi d&#8217;un message avec TELNET.</title>
		<link>http://aidexchange.fr/exchange-2007/envoi-un-message-avec-telnet.html</link>
		<comments>http://aidexchange.fr/exchange-2007/envoi-un-message-avec-telnet.html#comments</comments>
		<pubDate>Wed, 02 Mar 2011 14:06:21 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[TELNET]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=2099</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Voici la séquence de commandes pour envoyer un message via un TELNET sur le port 25 d&#8217;un relais SMTP. Exemple: EHLO test.com MAIL FROM: monadresse@gmail.com RCPT TO: monadresse@yahoo.com DATA Hello Christophe. . QUIT No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Voici la séquence de commandes pour envoyer un message via un TELNET sur le port 25 d&#8217;un relais SMTP.</p>

<table id="wp-table-reloaded-id-6-no-1" class="wp-table-reloaded wp-table-reloaded-id-6">
<thead>
	<tr class="row-1 odd">
		<th class="column-1">Commande</th><th class="column-2">Exemple</th><th class="column-3">Description</th>
	</tr>
</thead>
<tbody>
	<tr class="row-2 even">
		<td class="column-1">EHLO</td><td class="column-2">EHLO test.com</td><td class="column-3">Identification</td>
	</tr>
	<tr class="row-3 odd">
		<td class="column-1">MAIL FROM:</td><td class="column-2">MAIL FROM: moi@domain.com</td><td class="column-3">Configuration de l'adresse de l'émetteur</td>
	</tr>
	<tr class="row-4 even">
		<td class="column-1">RCPT TO:</td><td class="column-2">RCPT TO: toi@domain.com</td><td class="column-3">Configuration de l'adresse du destinataire</td>
	</tr>
	<tr class="row-5 odd">
		<td class="column-1">DATA</td><td class="column-2">DATA Salut!</td><td class="column-3">Saisie du message</td>
	</tr>
	<tr class="row-6 even">
		<td class="column-1">.</td><td class="column-2"><Enter>.<Enter></td><td class="column-3">Fin de la saisie du message</td>
	</tr>
	<tr class="row-7 odd">
		<td class="column-1">QUIT</td><td class="column-2">QUIT</td><td class="column-3">Quitte la session TELNET</td>
	</tr>
	<tr class="row-8 even">
		<td class="column-1">HELP</td><td class="column-2">HELP</td><td class="column-3">Affiche les commandes disponibles</td>
	</tr>
</tbody>
</table>

<p>Exemple:</p>

<div class="wp_codebox"><table><tr id="p20994"><td class="code" id="p2099code4"><pre class="text" style="font-family:monospace;">EHLO test.com
MAIL FROM: monadresse@gmail.com
RCPT TO: monadresse@yahoo.com
DATA
Hello Christophe.
.
QUIT</pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/envoi-un-message-avec-telnet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filter les MailContacts sur un nom de domaine.</title>
		<link>http://aidexchange.fr/exchange-2007/filter-les-mailcontacts-sur-nom-de-domaine.html</link>
		<comments>http://aidexchange.fr/exchange-2007/filter-les-mailcontacts-sur-nom-de-domaine.html#comments</comments>
		<pubDate>Mon, 31 Jan 2011 22:09:37 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Filtre]]></category>
		<category><![CDATA[MailContact]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=2076</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Je souhaite filter les MailContacts qui transferent les messages vers un domaine spécifique. En cette période de grand ménage, je cherche a exporter la liste des MailContacts obsolètes. Get-MailContact -ResultSize unlimited &#124; Where-Object &#123; $_.ExternalEmailAddress -like &#34;*@sc.domain.com&#34; &#125; &#124; Select-Object DisplayName,Alias,ExternalEmailAddress &#124; Export-Csv -Path .\Export\Old_MailContacts.csv No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Je souhaite filter les MailContacts qui transferent les messages vers un domaine spécifique.<br />
En cette période de grand ménage, je cherche a exporter la liste des MailContacts obsolètes.</p>

<div class="wp_codebox"><table><tr id="p20766"><td class="code" id="p2076code6"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-MailContact</span> <span style="color: #008080; font-style: italic;">-ResultSize</span> unlimited <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.ExternalEmailAddress <span style="color: #FF0000;">-like</span> <span style="color: #800000;">&quot;*@sc.domain.com&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-Object</span> DisplayName<span style="color: pink;">,</span>Alias<span style="color: pink;">,</span>ExternalEmailAddress <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Export-Csv</span> <span style="color: #008080; font-style: italic;">-Path</span> .\Export\Old_MailContacts.csv</pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/filter-les-mailcontacts-sur-nom-de-domaine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modification des paramètres de quota.</title>
		<link>http://aidexchange.fr/exchange-2007/modification-des-parametres-de-quota.html</link>
		<comments>http://aidexchange.fr/exchange-2007/modification-des-parametres-de-quota.html#comments</comments>
		<pubDate>Wed, 24 Nov 2010 21:42:06 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Boite aux lettres]]></category>
		<category><![CDATA[Quotas]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1925</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Lors de la modification des paramètres de quota sur une boite aux lettres, on constate que le paramétrage prend longtemps avant d&#8217;être appliquer. Il s&#8217;agit d&#8217;une délais d&#8217;application par défaut de deux heures dans le configuration de Exchange 2007. Le seul moyen de contourner ce délais est de redémarrer le service MSExchangeIS. Et ca, c&#8217;est [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Lors de la modification des paramètres de quota sur une boite aux lettres, on constate que le paramétrage prend longtemps avant d&#8217;être appliquer.</p>
<p>Il s&#8217;agit d&#8217;une délais d&#8217;application par défaut de deux heures dans le configuration de Exchange 2007.</p>
<p>Le seul moyen de contourner ce délais est de redémarrer le service MSExchangeIS. Et ca, c&#8217;est pas cool, surtout pour les 5000 autres utilisateurs du serveur.</p>
<p>Je conseil donc d&#8217;être vigilent lors des modifications et diplomate lorsque votre PDG se retrouve bloqué.</p>
<p>Pour les impatients, j&#8217;ai trouvé un article <a href="http://drkernel.blogspot.com/2008/08/mailbox-size-quota-are-not-applied-on.html" target="_blank">ici</a> qui propose de modifier le délais d&#8217;attente. (J&#8217;ai pas testé.)</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/modification-des-parametres-de-quota.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporter la taille des boites d&#8217;un groupe.</title>
		<link>http://aidexchange.fr/exchange-2007/exporter-taille-des-boites-membres-groupe.html</link>
		<comments>http://aidexchange.fr/exchange-2007/exporter-taille-des-boites-membres-groupe.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 21:44:59 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Boite aux lettres]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Groupes]]></category>
		<category><![CDATA[Taille]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1694</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Cette commande exporte la taille des boites aux lettres membre d&#8217;un groupe, il indique la base de données où se trouve la boite. Get-QADGroupMember -Identity &#34;Groupe_Compta&#34; -SizeLimit 0 &#124; foreach &#123; Get-MailboxStatistics -Identity $_.dn -ErrorAction silentlycontinue &#124; ft Displayname, Database, @&#123; expression=&#123;$_.TotalIt emSize.Value.ToMB&#40;&#41; &#125; ;label=&#34;TotalItemSize (MB)&#34; &#125; &#125; &#38;gt; Compta_group_size.csv No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Cette commande exporte la taille des boites aux lettres membre d&#8217;un groupe, il indique la base de données où se trouve la boite.</p>

<div class="wp_codebox"><table><tr id="p16948"><td class="code" id="p1694code8"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-QADGroupMember</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800000;">&quot;Groupe_Compta&quot;</span> <span style="color: pink;">-</span>SizeLimit <span style="color: #804000;">0</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span> <span style="color: #008080; font-weight: bold;">Get-MailboxStatistics</span>
 <span style="color: #008080; font-style: italic;">-Identity</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.dn <span style="color: #008080; font-style: italic;">-ErrorAction</span> silentlycontinue <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> Displayname<span style="color: pink;">,</span> Database<span style="color: pink;">,</span> <span style="color: pink;">@</span><span style="color: #000000;">&#123;</span> expression<span style="color: pink;">=</span><span style="color: #000000;">&#123;</span><a href="about:blank"><span style="color: #000080;">$_</span></a>.TotalIt
emSize.Value.ToMB<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> ;label<span style="color: pink;">=</span><span style="color: #800000;">&quot;TotalItemSize (MB)&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">&amp;</span>gt; Compta_group_size.csv</pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/exporter-taille-des-boites-membres-groupe.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extraire l&#8217;espace d&#8217;adressage d&#8217;un connecteur.</title>
		<link>http://aidexchange.fr/exchange-2007/extraire-espace-adressage-connecteur.html</link>
		<comments>http://aidexchange.fr/exchange-2007/extraire-espace-adressage-connecteur.html#comments</comments>
		<pubDate>Mon, 15 Nov 2010 16:53:18 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Transport]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1839</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Voici comment extraire rapidement l&#8217;espace d&#8217;adressage d&#8217;un connecteur d&#8217;envoi SMTP Exchange 2007. $conn = Get-SendConnector -Identity &#34;ToExtRouters&#34; $conn.AddressSpaces &#124; Select-Object Domain No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Voici comment extraire rapidement l&#8217;espace d&#8217;adressage d&#8217;un connecteur d&#8217;envoi SMTP Exchange 2007.</p>

<div class="wp_codebox"><table><tr id="p183910"><td class="code" id="p1839code10"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$conn</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Get-SendConnector</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800000;">&quot;ToExtRouters&quot;</span>
<span style="color: #800080;">$conn</span>.AddressSpaces <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-Object</span> Domain</pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/extraire-espace-adressage-connecteur.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vérifier et activer la politique d&#8217;adresses e-mail.</title>
		<link>http://aidexchange.fr/exchange-2007/verifier-activer-la-politique-adresses-email.html</link>
		<comments>http://aidexchange.fr/exchange-2007/verifier-activer-la-politique-adresses-email.html#comments</comments>
		<pubDate>Fri, 22 Oct 2010 12:59:31 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Boite aux lettres]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1744</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Utiliser cette méthode pour vérifier qui n&#8217;applique la politique d&#8217;adresses e-mail. Get-Mailbox -ResultSize unlimited -OrganizationalUnit &#34;domain.local/Paris&#34; &#124; Where-Object &#123; $_.EmailAddressPolicyEnabled -eq $false &#125; &#124; ft displayname,alias,PrimarySmtpAddress Dans mon cas, j&#8217;applique ce script pour savoir si la politique peut être appliquée sans qu&#8217;elle modifie l&#8217;adresse SMTP principale. Si c&#8217;est le cas, je l&#8217;applique. Get-Mailbox -ResultSize unlimited [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Utiliser cette méthode pour vérifier qui n&#8217;applique la politique d&#8217;adresses e-mail.</p>

<div class="wp_codebox"><table><tr id="p174413"><td class="code" id="p1744code13"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-Mailbox</span> <span style="color: #008080; font-style: italic;">-ResultSize</span> unlimited <span style="color: #008080; font-style: italic;">-OrganizationalUnit</span> <span style="color: #800000;">&quot;domain.local/Paris&quot;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.EmailAddressPolicyEnabled <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$false</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> displayname<span style="color: pink;">,</span>alias<span style="color: pink;">,</span>PrimarySmtpAddress</pre></td></tr></table></div>

<p>Dans mon cas, j&#8217;applique ce script pour savoir si la politique peut être appliquée sans qu&#8217;elle modifie l&#8217;adresse SMTP principale.<br />
Si c&#8217;est le cas, je l&#8217;applique.</p>

<div class="wp_codebox"><table><tr id="p174414"><td class="code" id="p1744code14"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-Mailbox</span> <span style="color: #008080; font-style: italic;">-ResultSize</span> unlimited <span style="color: #008080; font-style: italic;">-OrganizationalUnit</span> <span style="color: #800000;">&quot;domain.local/Paris&quot;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.EmailAddressPolicyEnabled <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$false</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800080;">$normalsmtp</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.alias <span style="color: pink;">+</span> <span style="color: #800000;">&quot;@domain.com&quot;</span>
<span style="color: #800080;">$prismtp</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.PrimarySmtpAddress
<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span> <span style="color: #800080;">$normalsmtp</span> <span style="color: #FF0000;">-ne</span> <span style="color: #800080;">$prismtp</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
<a href="about:blank"><span style="color: #000080;">$_</span></a>.displayname
<span style="color: #000000;">&#125;</span>
<span style="color: #0000FF;">Else</span><span style="color: #000000;">&#123;</span>
<span style="color: #008080; font-weight: bold;">Set-Mailbox</span> <span style="color: #008080; font-style: italic;">-Identity</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.alias <span style="color: #008080; font-style: italic;">-EmailAddressPolicyEnabled</span> <span style="color: #800080;">$true</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/verifier-activer-la-politique-adresses-email.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modification des droits sur les Databases.</title>
		<link>http://aidexchange.fr/exchange-2007/modification-droits-databases.html</link>
		<comments>http://aidexchange.fr/exchange-2007/modification-droits-databases.html#comments</comments>
		<pubDate>Thu, 21 Oct 2010 09:11:27 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[Messagerie Unifiée]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1740</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Certaines applications connectées aux serveurs Exchange nécessite des droits pour intéragir avec les boites aux lettres. C&#8217;est le cas d&#8217;applications type messagerie unifiées Astraa, Cisco&#8230; qui utilisent le connecteur IMAP pour déposer des messages et vérifier si le message vocal a été lu. Get-MailboxDatabase -Server CCR004 &#124; Where-Object &#123; $_.name -match &#34;IDF&#34;&#125; &#124; foreach &#123; [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Certaines applications connectées aux serveurs Exchange nécessite des droits pour intéragir avec les boites aux lettres.<br />
C&#8217;est le cas d&#8217;applications type messagerie unifiées Astraa, Cisco&#8230; qui utilisent le connecteur IMAP pour déposer des messages et vérifier si le message vocal a été lu.</p>

<div class="wp_codebox"><table><tr id="p174016"><td class="code" id="p1740code16"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-MailboxDatabase</span> <span style="color: #008080; font-style: italic;">-Server</span> CCR004 <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.name <span style="color: #FF0000;">-match</span> <span style="color: #800000;">&quot;IDF&quot;</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800080;">$dn</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.DistinguishedName
<span style="color: #008080; font-weight: bold;">Add-ADPermission</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800080;">$dn</span> <span style="color: #008080; font-style: italic;">-User</span> <span style="color: #800000;">&quot;messucp.idf&quot;</span> <span style="color: #008080; font-style: italic;">-ExtendedRights</span> Send<span style="color: pink;">-</span>As
<span style="color: #008080; font-weight: bold;">Add-ADPermission</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800080;">$dn</span> <span style="color: #008080; font-style: italic;">-User</span> <span style="color: #800000;">&quot;messucp.idf&quot;</span> <span style="color: #008080; font-style: italic;">-ExtendedRights</span> Receive<span style="color: pink;">-</span>As
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/modification-droits-databases.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifier les adresses de MailContacts.</title>
		<link>http://aidexchange.fr/exchange-2007/modifier-les-adresses-de-mailcontacts.html</link>
		<comments>http://aidexchange.fr/exchange-2007/modifier-les-adresses-de-mailcontacts.html#comments</comments>
		<pubDate>Thu, 21 Oct 2010 09:02:03 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Contacts]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1738</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Modifier le domaine de l&#8217;adresse externe sur tous les MailContacts d&#8217;un OU. $nldomcontact = Get-MailContact -OrganizationalUnit &#34;domain.local/NL&#34; -ResultSize unlimited &#124; Where-Object &#123; $_.ExternalEmailAddress -match &#34;@domino.domain.com&#34; &#125; foreach &#40;$contact in $nldomcontact&#41;&#123; $extsmtp = &#34;SMTP:&#34; + $contact.alias + &#34;@nl.domain.com&#34; Set-MailContact -Identity $contact -ExternalEmailAddress $extsmtp &#125; No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Modifier le domaine de l&#8217;adresse externe sur tous les MailContacts d&#8217;un OU.</p>

<div class="wp_codebox"><table><tr id="p173818"><td class="code" id="p1738code18"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$nldomcontact</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Get-MailContact</span> <span style="color: #008080; font-style: italic;">-OrganizationalUnit</span> <span style="color: #800000;">&quot;domain.local/NL&quot;</span> <span style="color: #008080; font-style: italic;">-ResultSize</span> unlimited <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.ExternalEmailAddress <span style="color: #FF0000;">-match</span> <span style="color: #800000;">&quot;@domino.domain.com&quot;</span> <span style="color: #000000;">&#125;</span>
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$contact</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$nldomcontact</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800080;">$extsmtp</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;SMTP:&quot;</span> <span style="color: pink;">+</span> <span style="color: #800080;">$contact</span>.alias <span style="color: pink;">+</span> <span style="color: #800000;">&quot;@nl.domain.com&quot;</span>
<span style="color: #008080; font-weight: bold;">Set-MailContact</span> <span style="color: #008080; font-style: italic;">-Identity</span> <span style="color: #800080;">$contact</span> <span style="color: #008080; font-style: italic;">-ExternalEmailAddress</span> <span style="color: #800080;">$extsmtp</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/modifier-les-adresses-de-mailcontacts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifier les clients qui utilisent un connecteur de réception.</title>
		<link>http://aidexchange.fr/exchange-2007/identifier-les-clients-qui-utilisent-connecteur-de-reception.html</link>
		<comments>http://aidexchange.fr/exchange-2007/identifier-les-clients-qui-utilisent-connecteur-de-reception.html#comments</comments>
		<pubDate>Wed, 20 Oct 2010 14:12:34 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[HUB]]></category>
		<category><![CDATA[Transport]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1735</guid>
		<description><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/>Permet de visualiser les IP des clients qui utilisent un connecteur de réception d&#8217;un serveur de transport. Get-MessageTrackingLog -ResultSize Unlimited -Server HUB001 -Start &#34;20/10/2010 15:50:00&#34; &#124; Where-Object &#123; $_.ConnectorId -match &#34;open&#34; &#125; &#124; Select-Object ClientIP -Unique &#124; Sort-Object ClientIP &#125; No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://aidexchange.fr/wp-content/plugins/category-icons/icons/Exchange_2007.png" width="70" height="70" alt="" title="Exchange 2007" /><br/><p>Permet de visualiser les IP des clients qui utilisent un connecteur de réception d&#8217;un serveur de transport.</p>

<div class="wp_codebox"><table><tr id="p173520"><td class="code" id="p1735code20"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-MessageTrackingLog</span> <span style="color: #008080; font-style: italic;">-ResultSize</span> Unlimited <span style="color: #008080; font-style: italic;">-Server</span> HUB001 <span style="color: #008080; font-style: italic;">-Start</span> <span style="color: #800000;">&quot;20/10/2010 15:50:00&quot;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.ConnectorId <span style="color: #FF0000;">-match</span> <span style="color: #800000;">&quot;open&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-Object</span> ClientIP <span style="color: #008080; font-style: italic;">-Unique</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Sort-Object</span> ClientIP <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/identifier-les-clients-qui-utilisent-connecteur-de-reception.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

