<?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>Christophe BLUTEAU&#039;s blog</title>
	<atom:link href="http://aidexchange.fr/feed" rel="self" type="application/rss+xml" />
	<link>http://aidexchange.fr</link>
	<description>Aide pour Microsft Windows Server, Active Directory, Exchange, OCS...</description>
	<lastBuildDate>Thu, 11 Mar 2010 21:48:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pinger un ordinateur.</title>
		<link>http://aidexchange.fr/windows/pinger-ordinateur.html</link>
		<comments>http://aidexchange.fr/windows/pinger-ordinateur.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:57:45 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Ordinateur]]></category>
		<category><![CDATA[Ping]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1114</guid>
		<description><![CDATA[Faire un ping d&#8217;un ordinateur.
Permet vérifier que l&#8217;ordinateur est en ligne avant de lancer une action sur lui via un script.

$computername = Read-Host &#34;Please enter the computer name&#34;
$ping = new-object System.Net.NetworkInformation.Ping
$reply = $ping.send&#40;$computerName&#41;
if &#40;$reply.status –eq “Success”&#41;
&#123;
write-host &#34;$ComputerName is online.&#34;
&#125;

     Share/Save

Related posts:Pinger un sous-réseau.
Depuis combien de temps est démarré un serveur.
Ajouter FullAccess [...]


Related posts:<ol><li><a href='http://aidexchange.fr/windows/pinger-un-sous-reseau.html' rel='bookmark' title='Permanent Link: Pinger un sous-réseau.'>Pinger un sous-réseau.</a></li>
<li><a href='http://aidexchange.fr/windows/depuis-combien-de-temps-est-demarre-un-serveur.html' rel='bookmark' title='Permanent Link: Depuis combien de temps est démarré un serveur.'>Depuis combien de temps est démarré un serveur.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajouter-fullaccess-sendas-sur-une-boite.html' rel='bookmark' title='Permanent Link: Ajouter FullAccess et SendAs sur une boite.'>Ajouter FullAccess et SendAs sur une boite.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Faire un ping d&#8217;un ordinateur.<br />
Permet vérifier que l&#8217;ordinateur est en ligne avant de lancer une action sur lui via un script.</p>

<div class="wp_codebox"><table><tr id="p11142"><td class="code" id="p1114code2"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$computername</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Please enter the computer name&quot;</span>
<span style="color: #800080;">$ping</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">new-object</span> System.Net.NetworkInformation.Ping
<span style="color: #800080;">$reply</span> <span style="color: pink;">=</span> <span style="color: #800080;">$ping</span>.send<span style="color: #000000;">&#40;</span><span style="color: #800080;">$computerName</span><span style="color: #000000;">&#41;</span>
<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$reply</span>.status –eq “Success”<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #008080; font-weight: bold;">write-host</span> <span style="color: #800000;">&quot;$ComputerName is online.&quot;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fpinger-ordinateur.html&amp;linkname=Pinger%20un%20ordinateur.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/windows/pinger-un-sous-reseau.html' rel='bookmark' title='Permanent Link: Pinger un sous-réseau.'>Pinger un sous-réseau.</a></li>
<li><a href='http://aidexchange.fr/windows/depuis-combien-de-temps-est-demarre-un-serveur.html' rel='bookmark' title='Permanent Link: Depuis combien de temps est démarré un serveur.'>Depuis combien de temps est démarré un serveur.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajouter-fullaccess-sendas-sur-une-boite.html' rel='bookmark' title='Permanent Link: Ajouter FullAccess et SendAs sur une boite.'>Ajouter FullAccess et SendAs sur une boite.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/windows/pinger-ordinateur.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Afficher la configuration IP d&#8217;un serveur distant.</title>
		<link>http://aidexchange.fr/windows/afficher-la-configuration-ip-dun-serveur-distant.html</link>
		<comments>http://aidexchange.fr/windows/afficher-la-configuration-ip-dun-serveur-distant.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:32:22 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Serveur]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1109</guid>
		<description><![CDATA[Permet d&#8217;afficher la configuration IP des cartes actives sur un serveur distant.

Get-WmiObject  -Class &#34;Win32_NetworkAdapterConfiguration&#34;  -ComputerName &#34;server001&#34; &#124; Where-Object &#123;$_.IpEnabled -Match &#34;True&#34;&#125; &#124; Select-Object DNSHostName,DHCPEnabled,IPAddress,IPSubnet,DefaultIPGateway,DNSServerSearchOrder,WINSPrimaryServer,WINSSecondaryServer,MACAddress,DNSDomain,Description

     Share/Save

Related posts:Afficher les utilisateurs MOCS.
Import de la configuration d&#8217;utilisateurs RCC OCS.
Afficher les boites restreintes par un quota.

La liste des entrées complémentaires est établie par le [...]


Related posts:<ol><li><a href='http://aidexchange.fr/ocs-2007/afficher-les-utilisateurs-mocs.html' rel='bookmark' title='Permanent Link: Afficher les utilisateurs MOCS.'>Afficher les utilisateurs MOCS.</a></li>
<li><a href='http://aidexchange.fr/ocs-2007/import-de-la-configuration-dutilisateurs-remote-call-control-ocs.html' rel='bookmark' title='Permanent Link: Import de la configuration d&#8217;utilisateurs RCC OCS.'>Import de la configuration d&#8217;utilisateurs RCC OCS.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/afficher-les-boites-restreintes-par-quota.html' rel='bookmark' title='Permanent Link: Afficher les boites restreintes par un quota.'>Afficher les boites restreintes par un quota.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Permet d&#8217;afficher la configuration IP des cartes actives sur un serveur distant.</p>

<div class="wp_codebox"><table><tr id="p11094"><td class="code" id="p1109code4"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Get-WmiObject</span>  <span style="color: #008080; font-style: italic;">-Class</span> <span style="color: #800000;">&quot;Win32_NetworkAdapterConfiguration&quot;</span>  <span style="color: #008080; font-style: italic;">-ComputerName</span> <span style="color: #800000;">&quot;server001&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>.IpEnabled <span style="color: #FF0000;">-Match</span> <span style="color: #800000;">&quot;True&quot;</span><span style="color: #000000;">&#125;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Select-Object</span> DNSHostName<span style="color: pink;">,</span>DHCPEnabled<span style="color: pink;">,</span>IPAddress<span style="color: pink;">,</span>IPSubnet<span style="color: pink;">,</span>DefaultIPGateway<span style="color: pink;">,</span>DNSServerSearchOrder<span style="color: pink;">,</span>WINSPrimaryServer<span style="color: pink;">,</span>WINSSecondaryServer<span style="color: pink;">,</span>MACAddress<span style="color: pink;">,</span>DNSDomain<span style="color: pink;">,</span>Description</pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fafficher-la-configuration-ip-dun-serveur-distant.html&amp;linkname=Afficher%20la%20configuration%20IP%20d%26%238217%3Bun%20serveur%20distant.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/ocs-2007/afficher-les-utilisateurs-mocs.html' rel='bookmark' title='Permanent Link: Afficher les utilisateurs MOCS.'>Afficher les utilisateurs MOCS.</a></li>
<li><a href='http://aidexchange.fr/ocs-2007/import-de-la-configuration-dutilisateurs-remote-call-control-ocs.html' rel='bookmark' title='Permanent Link: Import de la configuration d&#8217;utilisateurs RCC OCS.'>Import de la configuration d&#8217;utilisateurs RCC OCS.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/afficher-les-boites-restreintes-par-quota.html' rel='bookmark' title='Permanent Link: Afficher les boites restreintes par un quota.'>Afficher les boites restreintes par un quota.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/windows/afficher-la-configuration-ip-dun-serveur-distant.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collecter les events logs à distance.</title>
		<link>http://aidexchange.fr/exchange-2007/collecter-les-events-logs-a-distance.html</link>
		<comments>http://aidexchange.fr/exchange-2007/collecter-les-events-logs-a-distance.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:10:08 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Distance]]></category>
		<category><![CDATA[Filtre]]></category>
		<category><![CDATA[Logs]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=658</guid>
		<description><![CDATA[Ce script permet de collecter dans un fichier Excel les events log des résultats des online defrag sur tous les serveurs de boites aux lettres de l&#8217;organisation.
Un fois que vous avez le résultat des défragmentation online, vous pouvez évaluer si il est pertinent d&#8217;effectuer une défragmentation offline sur certaines Databases.

$a = New-Object -comobject Excel.Application
&#160;
$a.Visible = [...]


Related posts:<ol><li><a href='http://aidexchange.fr/powershell/export-de-powershell-vers-excel.html' rel='bookmark' title='Permanent Link: Export de Powershell vers Excel.'>Export de Powershell vers Excel.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/resultat-du-online-defrag.html' rel='bookmark' title='Permanent Link: Résultat du Online Defrag.'>Résultat du Online Defrag.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/deplacer-les-logs-dun-storage-group.html' rel='bookmark' title='Permanent Link: Déplacer les logs d&#8217;un storage group.'>Déplacer les logs d&#8217;un storage group.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Ce script permet de collecter dans un fichier Excel les events log des résultats des online defrag sur tous les serveurs de boites aux lettres de l&#8217;organisation.<br />
Un fois que vous avez le résultat des défragmentation online, vous pouvez évaluer si il est pertinent d&#8217;effectuer une défragmentation offline sur certaines Databases.</p>

<div class="wp_codebox"><table><tr id="p6586"><td class="code" id="p658code6"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$a</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">New-Object</span> <span style="color: #008080; font-style: italic;">-comobject</span> Excel.Application
&nbsp;
<span style="color: #800080;">$a</span>.Visible <span style="color: pink;">=</span> <span style="color: #800080;">$True</span>
&nbsp;
<span style="color: #800080;">$b</span> <span style="color: pink;">=</span> <span style="color: #800080;">$a</span>.Workbooks.Add<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$c</span> <span style="color: pink;">=</span> <span style="color: #800080;">$b</span>.Worksheets.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #800080;">$col</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
<span style="color: #800080;">$ligne</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
&nbsp;
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Server&quot;</span>
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">2</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Database&quot;</span>
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">3</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Date&quot;</span>
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">4</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Free space&quot;</span>
&nbsp;
<span style="color: #800080;">$ligne</span><span style="color: pink;">++</span>
&nbsp;
<span style="color: #800080;">$ExchServer</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>MailboxServer
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$Server</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$ExchServer</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
&nbsp;
<span style="color: #800080;">$WmidtQueryDT</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span>System.Management.ManagementDateTimeConverter<span style="color: #000000;">&#93;</span>::ToDmtfDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>DateTime<span style="color: #000000;">&#93;</span>::Now.AddDays<span style="color: #000000;">&#40;</span><span style="color: pink;">-</span><span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$1221</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Get-WmiObject</span> <span style="color: pink;">-</span>computer <span style="color: #800080;">$Server</span> <span style="color: #008080; font-style: italic;">-query</span> <span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;Select * from Win32_NTLogEvent Where Logfile='Application' and Eventcode = '1221' and TimeWritten &gt;='&quot;</span> <span style="color: pink;">+</span> <span style="color: #800080;">$WmidtQueryDT</span> <span style="color: pink;">+</span> <span style="color: #800000;">&quot;'&quot;</span><span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$event</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$1221</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
<span style="color: #800080;">$database</span> <span style="color: pink;">=</span> <span style="color: #800080;">$event</span>.message.split<span style="color: #000000;">&#40;</span><span style="color: #800000;">'&quot;'</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">1</span><span style="color: #000000;">&#93;</span>
<span style="color: #800080;">$size</span> <span style="color: pink;">=</span> <span style="color: #800080;">$event</span>.message.split<span style="color: #000000;">&#40;</span><span style="color: #800000;">'&quot;'</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">2</span><span style="color: #000000;">&#93;</span>.split<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot; &quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span><span style="color: #804000;">2</span><span style="color: #000000;">&#93;</span>
<span style="color: #800080;">$date</span> <span style="color: pink;">=</span> <span style="color: #800080;">$event</span>.ConvertToDateTime<span style="color: #000000;">&#40;</span><span style="color: #800080;">$event</span>.timewritten<span style="color: #000000;">&#41;</span>
&nbsp;
	<span style="color: #800080;">$col</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$Server</span>
	<span style="color: #800080;">$col</span><span style="color: pink;">++</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$database</span>
	<span style="color: #800080;">$col</span><span style="color: pink;">++</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$date</span>
	<span style="color: #800080;">$col</span><span style="color: pink;">++</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$size</span>
	<span style="color: #800080;">$ligne</span><span style="color: pink;">++</span>
&nbsp;
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcollecter-les-events-logs-a-distance.html&amp;linkname=Collecter%20les%20events%20logs%20%C3%A0%20distance.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/powershell/export-de-powershell-vers-excel.html' rel='bookmark' title='Permanent Link: Export de Powershell vers Excel.'>Export de Powershell vers Excel.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/resultat-du-online-defrag.html' rel='bookmark' title='Permanent Link: Résultat du Online Defrag.'>Résultat du Online Defrag.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/deplacer-les-logs-dun-storage-group.html' rel='bookmark' title='Permanent Link: Déplacer les logs d&#8217;un storage group.'>Déplacer les logs d&#8217;un storage group.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/collecter-les-events-logs-a-distance.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Afficher la version de Exchange.</title>
		<link>http://aidexchange.fr/exchange-2007/afficher-les-version-de-exchange.html</link>
		<comments>http://aidexchange.fr/exchange-2007/afficher-les-version-de-exchange.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 10:56:57 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Version]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1104</guid>
		<description><![CDATA[Permet d&#8217;afficher la version des serveurs Exchange de l&#8217;organisation et les rôles.

Get-ExchangeServer &#124; ft Name,Edition,ExchangeVersion,ServerRole,IsMemberOfCluster

     Share/Save

Related posts:Récupérer la version des clients Outlook.
Informations status Exchange 2007 Server.
Afficher les messages dans le queues.

La liste des entrées complémentaires est établie par le module d’extension YARPP.


Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/recuperer-la-version-des-client-outlook.html' rel='bookmark' title='Permanent Link: Récupérer la version des clients Outlook.'>Récupérer la version des clients Outlook.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/informations-status-exchange-2007-server.html' rel='bookmark' title='Permanent Link: Informations status Exchange 2007 Server.'>Informations status Exchange 2007 Server.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/afficher-les-messages-dans-le-queues.html' rel='bookmark' title='Permanent Link: Afficher les messages dans le queues.'>Afficher les messages dans le queues.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Permet d&#8217;afficher la version des serveurs Exchange de l&#8217;organisation et les rôles.</p>

<div class="wp_codebox"><table><tr id="p11048"><td class="code" id="p1104code8"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>ExchangeServer <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> Name<span style="color: pink;">,</span>Edition<span style="color: pink;">,</span>ExchangeVersion<span style="color: pink;">,</span>ServerRole<span style="color: pink;">,</span>IsMemberOfCluster</pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fafficher-les-version-de-exchange.html&amp;linkname=Afficher%20la%20version%20de%20Exchange.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/recuperer-la-version-des-client-outlook.html' rel='bookmark' title='Permanent Link: Récupérer la version des clients Outlook.'>Récupérer la version des clients Outlook.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/informations-status-exchange-2007-server.html' rel='bookmark' title='Permanent Link: Informations status Exchange 2007 Server.'>Informations status Exchange 2007 Server.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/afficher-les-messages-dans-le-queues.html' rel='bookmark' title='Permanent Link: Afficher les messages dans le queues.'>Afficher les messages dans le queues.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/afficher-les-version-de-exchange.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Traiter les membres d&#8217;un groupe.</title>
		<link>http://aidexchange.fr/active-directory/traiter-les-membres-dun-groupe.html</link>
		<comments>http://aidexchange.fr/active-directory/traiter-les-membres-dun-groupe.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 18:48:11 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Groupes]]></category>
		<category><![CDATA[Quotas]]></category>
		<category><![CDATA[Utilisateurs]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1102</guid>
		<description><![CDATA[Permet d&#8217;effectuer une tache d&#8217;administration sur les membres d&#8217;un groupe.

Get-Group -Identity &#34;Group_Name&#34; &#124;
	ForEach-Object &#123;
		$groupdn=&#40;&#34;LDAP://&#34;+$_.DistinguishedName&#41;
		$group = &#40;&#91;ADSI&#93;$groupdn&#41;
		&#34;&#34;
		&#34;Nom du groupe&#34;
		&#34;-------------&#34;
		$_.DistinguishedName
		&#34;&#34;
		&#34;Liste des membres du groupe&#34;
		&#34;---------------------------&#34;
&#160;
		ForEach &#40;$member in $group.member&#41;&#123;
&#160;
			$member
#	Desactivation du quota *EXCEPTION_QUOTA*
			Set-Mailbox -Identity $member -IssueWarningQuota Unlimited -ProhibitSendQuota Unlimited -ProhibitSendReceiveQuota Unlimited -UseDatabaseQuotaDefaults $false 
		&#125;
	&#125;

     Share/Save

Related posts:Désactive l&#8217;héritage du quota sur un groupe.
Ajoute de boites aux lettres [...]


Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/desactive-heritage-du-quota-sur-groupe.html' rel='bookmark' title='Permanent Link: Désactive l&#8217;héritage du quota sur un groupe.'>Désactive l&#8217;héritage du quota sur un groupe.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajoute-les-grosses-boites-aux-lettres-dans-groupe.html' rel='bookmark' title='Permanent Link: Ajoute de boites aux lettres dans un groupe.'>Ajoute de boites aux lettres dans un groupe.</a></li>
<li><a href='http://aidexchange.fr/active-directory/lister-les-membres-dun-groupe.html' rel='bookmark' title='Permanent Link: Lister les membres d&#8217;un groupe.'>Lister les membres d&#8217;un groupe.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Permet d&#8217;effectuer une tache d&#8217;administration sur les membres d&#8217;un groupe.</p>

<div class="wp_codebox"><table><tr id="p110210"><td class="code" id="p1102code10"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span><span style="color: #008080; font-weight: bold;">Group</span> <span style="color: pink;">-</span>Identity <span style="color: #800000;">&quot;Group_Name&quot;</span> <span style="color: pink;">|</span>
	<span style="color: #008080; font-weight: bold;">ForEach-Object</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #800080;">$groupdn</span><span style="color: pink;">=</span><span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;LDAP://&quot;</span><span style="color: pink;">+</span><a href="about:blank"><span style="color: #000080;">$_</span></a>.DistinguishedName<span style="color: #000000;">&#41;</span>
		<span style="color: #800080;">$group</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>ADSI<span style="color: #000000;">&#93;</span><span style="color: #800080;">$groupdn</span><span style="color: #000000;">&#41;</span>
		<span style="color: #800000;">&quot;&quot;</span>
		<span style="color: #800000;">&quot;Nom du groupe&quot;</span>
		<span style="color: #800000;">&quot;-------------&quot;</span>
		<a href="about:blank"><span style="color: #000080;">$_</span></a>.DistinguishedName
		<span style="color: #800000;">&quot;&quot;</span>
		<span style="color: #800000;">&quot;Liste des membres du groupe&quot;</span>
		<span style="color: #800000;">&quot;---------------------------&quot;</span>
&nbsp;
		<span style="color: #0000FF;">ForEach</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$member</span> <span style="color: #0000FF;">in</span> <span style="color: #800080;">$group</span>.member<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
&nbsp;
			<span style="color: #800080;">$member</span>
<span style="color: #008000;">#	Desactivation du quota *EXCEPTION_QUOTA*</span>
			Set<span style="color: pink;">-</span>Mailbox <span style="color: pink;">-</span>Identity <span style="color: #800080;">$member</span> <span style="color: pink;">-</span>IssueWarningQuota Unlimited <span style="color: pink;">-</span>ProhibitSendQuota Unlimited <span style="color: pink;">-</span>ProhibitSendReceiveQuota Unlimited <span style="color: pink;">-</span>UseDatabaseQuotaDefaults <span style="color: #800080;">$false</span> 
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Factive-directory%2Ftraiter-les-membres-dun-groupe.html&amp;linkname=Traiter%20les%20membres%20d%26%238217%3Bun%20groupe.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/desactive-heritage-du-quota-sur-groupe.html' rel='bookmark' title='Permanent Link: Désactive l&#8217;héritage du quota sur un groupe.'>Désactive l&#8217;héritage du quota sur un groupe.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/ajoute-les-grosses-boites-aux-lettres-dans-groupe.html' rel='bookmark' title='Permanent Link: Ajoute de boites aux lettres dans un groupe.'>Ajoute de boites aux lettres dans un groupe.</a></li>
<li><a href='http://aidexchange.fr/active-directory/lister-les-membres-dun-groupe.html' rel='bookmark' title='Permanent Link: Lister les membres d&#8217;un groupe.'>Lister les membres d&#8217;un groupe.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/traiter-les-membres-dun-groupe.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relax.</title>
		<link>http://aidexchange.fr/divers/relax.html</link>
		<comments>http://aidexchange.fr/divers/relax.html#comments</comments>
		<pubDate>Wed, 03 Mar 2010 12:46:32 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[Dessin]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1093</guid>
		<description><![CDATA[J&#8217;en ai rien à Facebooker.
     Share/Save

No related posts.
La liste des entrées complémentaires est établie par le module d’extension YARPP.


No related posts.

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://aidexchange.fr/wp-content/uploads/2010/03/trop_chaud.jpg"><img class="aligncenter size-full wp-image-1094" title="trop_chaud" src="http://aidexchange.fr/wp-content/uploads/2010/03/trop_chaud.jpg" alt="" width="604" height="433" /></a><a title="J'en a rien à facebooker" href="http://www.facebook.com/group.php?gid=121105559837&amp;v=info#!/group.php?gid=121105559837&amp;ref=mf" target="_blank">J&#8217;en ai rien à Facebooker.</a></p>
<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fdivers%2Frelax.html&amp;linkname=Relax.">Share/Save</a>

<p>No related posts.</p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/divers/relax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gérer les sessions TSE (RDP) avec Powershell.</title>
		<link>http://aidexchange.fr/windows/grer-les-sessions-tse-rdp-avec-powershell.html</link>
		<comments>http://aidexchange.fr/windows/grer-les-sessions-tse-rdp-avec-powershell.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 16:02:33 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Serveur]]></category>
		<category><![CDATA[TSE]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1084</guid>
		<description><![CDATA[Enfin, il est maintenant facile de visualiser, déconnecter et arrêter des sessions RDP sur un serveur distant via Powershell.
Il s&#8217;agit de commande ajoutées avec PSCX.
Afficher les sessions en cours:

Get-TerminalSession -ComputerName &#34;server001&#34;

Déconnecter la session de l&#8217;ID 2:

Disconnect-TerminalSession -ComputerName &#34;server001&#34; -Id 2

Arrêter la session de l&#8217;ID 2:

Stop-TerminalSession -ComputerName &#34;server001&#34; -Id 2

     Share/Save

Related posts:Gérer [...]


Related posts:<ol><li><a href='http://aidexchange.fr/windows/grer-les-session-rdp-distance.html' rel='bookmark' title='Permanent Link: Gérer les session RDP à distance.'>Gérer les session RDP à distance.</a></li>
<li><a href='http://aidexchange.fr/powershell/ajout-de-powershell-community-extensions.html' rel='bookmark' title='Permanent Link: Ajout de &laquo;&nbsp;PowerShell Community Extensions&nbsp;&raquo;.'>Ajout de &laquo;&nbsp;PowerShell Community Extensions&nbsp;&raquo;.</a></li>
<li><a href='http://aidexchange.fr/windows/afficher-la-configuration-ip-dun-serveur-distant.html' rel='bookmark' title='Permanent Link: Afficher la configuration IP d&#8217;un serveur distant.'>Afficher la configuration IP d&#8217;un serveur distant.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Enfin, il est maintenant facile de visualiser, déconnecter et arrêter des sessions RDP sur un serveur distant via Powershell.<br />
Il s&#8217;agit de commande ajoutées avec <a href="http://aidexchange.fr/powershell/ajout-de-powershell-community-extensions.html" target="_self">PSCX</a>.</p>
<p>Afficher les sessions en cours:</p>

<div class="wp_codebox"><table><tr id="p108414"><td class="code" id="p1084code14"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>TerminalSession <span style="color: #008080; font-style: italic;">-ComputerName</span> <span style="color: #800000;">&quot;server001&quot;</span></pre></td></tr></table></div>

<p>Déconnecter la session de l&#8217;ID 2:</p>

<div class="wp_codebox"><table><tr id="p108415"><td class="code" id="p1084code15"><pre class="powershell" style="font-family:monospace;">Disconnect<span style="color: pink;">-</span>TerminalSession <span style="color: #008080; font-style: italic;">-ComputerName</span> <span style="color: #800000;">&quot;server001&quot;</span> <span style="color: #008080; font-style: italic;">-Id</span> <span style="color: #804000;">2</span></pre></td></tr></table></div>

<p>Arrêter la session de l&#8217;ID 2:</p>

<div class="wp_codebox"><table><tr id="p108416"><td class="code" id="p1084code16"><pre class="powershell" style="font-family:monospace;">Stop<span style="color: pink;">-</span>TerminalSession <span style="color: #008080; font-style: italic;">-ComputerName</span> <span style="color: #800000;">&quot;server001&quot;</span> <span style="color: #008080; font-style: italic;">-Id</span> <span style="color: #804000;">2</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fwindows%2Fgrer-les-sessions-tse-rdp-avec-powershell.html&amp;linkname=G%C3%A9rer%20les%20sessions%20TSE%20%28RDP%29%20avec%20Powershell.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/windows/grer-les-session-rdp-distance.html' rel='bookmark' title='Permanent Link: Gérer les session RDP à distance.'>Gérer les session RDP à distance.</a></li>
<li><a href='http://aidexchange.fr/powershell/ajout-de-powershell-community-extensions.html' rel='bookmark' title='Permanent Link: Ajout de &laquo;&nbsp;PowerShell Community Extensions&nbsp;&raquo;.'>Ajout de &laquo;&nbsp;PowerShell Community Extensions&nbsp;&raquo;.</a></li>
<li><a href='http://aidexchange.fr/windows/afficher-la-configuration-ip-dun-serveur-distant.html' rel='bookmark' title='Permanent Link: Afficher la configuration IP d&#8217;un serveur distant.'>Afficher la configuration IP d&#8217;un serveur distant.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/windows/grer-les-sessions-tse-rdp-avec-powershell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export de Powershell vers Excel.</title>
		<link>http://aidexchange.fr/powershell/export-de-powershell-vers-excel.html</link>
		<comments>http://aidexchange.fr/powershell/export-de-powershell-vers-excel.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 10:16:16 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Export]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1082</guid>
		<description><![CDATA[Permet de renvoyer les informations affichés de Powershell ver Excel.
Les lignes sont renseignées en temps réelle.

$a = New-Object -comobject Excel.Application
&#160;
$a.Visible = $True
&#160;
$b = $a.Workbooks.Add&#40;&#41;
$c = $b.Worksheets.Item&#40;1&#41;
&#160;
$col = 1
$ligne = 1
&#160;
$c.Cells.Item&#40;1,1&#41; = &#34;DisplayName&#34;
$c.Cells.Item&#40;1,2&#41; = &#34;Alias&#34;
$c.Cells.Item&#40;1,3&#41; = &#34;Database&#34;
&#160;
$ligne++
&#160;
Get-Mailbox -Identity *christophe* &#124; foreach &#123;
	$displayname = $_.displayname
	$alias = $_.alias
	$database = $_.database
	$col = 1
	$c.Cells.Item&#40;$ligne,$col&#41; = &#91;string&#93;$displayname
	$col++
	$c.Cells.Item&#40;$ligne,$col&#41; = &#91;string&#93;$alias
	$col++
	$c.Cells.Item&#40;$ligne,$col&#41; = &#91;string&#93;$database
	$ligne++
&#125;

En [...]


Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/collecter-les-events-logs-a-distance.html' rel='bookmark' title='Permanent Link: Collecter les events logs à distance.'>Collecter les events logs à distance.</a></li>
<li><a href='http://aidexchange.fr/powershell/traitement-de-texte-en-powershell.html' rel='bookmark' title='Permanent Link: Traitement de texte en Powershell.'>Traitement de texte en Powershell.</a></li>
<li><a href='http://aidexchange.fr/powershell/faire-un-filtre-sur-une-liste-de-boite-dans-un-fichier.html' rel='bookmark' title='Permanent Link: Faire un filtre sur une liste de boite dans un fichier.'>Faire un filtre sur une liste de boite dans un fichier.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Permet de renvoyer les informations affichés de Powershell ver Excel.<br />
Les lignes sont renseignées en temps réelle.</p>

<div class="wp_codebox"><table><tr id="p108219"><td class="code" id="p1082code19"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$a</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">New-Object</span> <span style="color: #008080; font-style: italic;">-comobject</span> Excel.Application
&nbsp;
<span style="color: #800080;">$a</span>.Visible <span style="color: pink;">=</span> <span style="color: #800080;">$True</span>
&nbsp;
<span style="color: #800080;">$b</span> <span style="color: pink;">=</span> <span style="color: #800080;">$a</span>.Workbooks.Add<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$c</span> <span style="color: pink;">=</span> <span style="color: #800080;">$b</span>.Worksheets.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span>
&nbsp;
<span style="color: #800080;">$col</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
<span style="color: #800080;">$ligne</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
&nbsp;
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">1</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;DisplayName&quot;</span>
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">2</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Alias&quot;</span>
<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #804000;">1</span><span style="color: pink;">,</span><span style="color: #804000;">3</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;Database&quot;</span>
&nbsp;
<span style="color: #800080;">$ligne</span><span style="color: pink;">++</span>
&nbsp;
Get<span style="color: pink;">-</span>Mailbox <span style="color: pink;">-</span>Identity <span style="color: pink;">*</span>christophe<span style="color: pink;">*</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #800080;">$displayname</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.displayname
	<span style="color: #800080;">$alias</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.alias
	<span style="color: #800080;">$database</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.database
	<span style="color: #800080;">$col</span> <span style="color: pink;">=</span> <span style="color: #804000;">1</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$displayname</span>
	<span style="color: #800080;">$col</span><span style="color: pink;">++</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$alias</span>
	<span style="color: #800080;">$col</span><span style="color: pink;">++</span>
	<span style="color: #800080;">$c</span>.Cells.Item<span style="color: #000000;">&#40;</span><span style="color: #800080;">$ligne</span><span style="color: pink;">,</span><span style="color: #800080;">$col</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span><span style="color: #008080;">string</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$database</span>
	<span style="color: #800080;">$ligne</span><span style="color: pink;">++</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>En ajoutant les lignes suivantes, il est possible d&#8217;automatiser l&#8217;enregistrement et la fermeture du document.</p>

<div class="wp_codebox"><table><tr id="p108220"><td class="code" id="p1082code20"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$b</span>.SaveAs<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;C:\Resultats\Result_Christophe.xls&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$a</span>.Quit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fpowershell%2Fexport-de-powershell-vers-excel.html&amp;linkname=Export%20de%20Powershell%20vers%20Excel.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/collecter-les-events-logs-a-distance.html' rel='bookmark' title='Permanent Link: Collecter les events logs à distance.'>Collecter les events logs à distance.</a></li>
<li><a href='http://aidexchange.fr/powershell/traitement-de-texte-en-powershell.html' rel='bookmark' title='Permanent Link: Traitement de texte en Powershell.'>Traitement de texte en Powershell.</a></li>
<li><a href='http://aidexchange.fr/powershell/faire-un-filtre-sur-une-liste-de-boite-dans-un-fichier.html' rel='bookmark' title='Permanent Link: Faire un filtre sur une liste de boite dans un fichier.'>Faire un filtre sur une liste de boite dans un fichier.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/powershell/export-de-powershell-vers-excel.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Le contrôle de l&#8217;utilisation de la messagerie.</title>
		<link>http://aidexchange.fr/infos/le-contrle-de-lutilisation-de-la-messagerie.html</link>
		<comments>http://aidexchange.fr/infos/le-contrle-de-lutilisation-de-la-messagerie.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 08:51:39 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Infos]]></category>
		<category><![CDATA[Législation]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1077</guid>
		<description><![CDATA[
Le contrôle de l&#8217;utilisation d’internet et de la messagerie.
On en en parle pas souvent, on en a une vague idée mais il existe un cadre.
La CNIL a publié une fiche pratique sur les droits et devoirs de l&#8217;entreprise et des salariés pour l&#8217;utilisation d&#8217;Internet et la Messagerie.
Il y a quelques informations à découvrir ici.
  [...]


Related posts:<ol><li><a href='http://aidexchange.fr/unified-messaging/schema-de-la-messagerie-unifiee.html' rel='bookmark' title='Permanent Link: Schéma de la messagerie unifiée.'>Schéma de la messagerie unifiée.</a></li>
<li><a href='http://aidexchange.fr/powershell/utilisation-de-where-object.html' rel='bookmark' title='Permanent Link: Utilisation de Where-Object'>Utilisation de Where-Object</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/controle-de-exchange-2007.html' rel='bookmark' title='Permanent Link: Contrôle de Exchange 2007.'>Contrôle de Exchange 2007.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.cnil.fr/en-savoir-plus/fiches-pratiques/fiche/article/91/le-controle-de-lutilisation-dinternet-et-de-la-messagerie/#" target="_blank"><img class="size-full wp-image-1078 aligncenter" title="cnil" src="http://aidexchange.fr/wp-content/uploads/2010/02/cnil.gif" alt="cnil" width="160" height="28" /></a></p>
<p style="text-align: center;"><span style="color: #000000;"><a href="http://www.cnil.fr/en-savoir-plus/fiches-pratiques/fiche/article/91/le-controle-de-lutilisation-dinternet-et-de-la-messagerie/#" target="_blank"><strong>Le contrôle de l&#8217;utilisation d’internet et de la messagerie.</strong></a></span></p>
<p style="text-align: left;">On en en parle pas souvent, on en a une vague idée mais il existe un cadre.</p>
<p style="text-align: left;">La CNIL a publié une fiche pratique sur les droits et devoirs de l&#8217;entreprise et des salariés pour l&#8217;utilisation d&#8217;Internet et la Messagerie.</p>
<p>Il y a quelques informations à découvrir <a href="http://www.cnil.fr/en-savoir-plus/fiches-pratiques/fiche/article/91/le-controle-de-lutilisation-dinternet-et-de-la-messagerie/#" target="_blank">ici</a>.</p>
<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Finfos%2Fle-contrle-de-lutilisation-de-la-messagerie.html&amp;linkname=Le%20contr%C3%B4le%20de%20l%26%238217%3Butilisation%20de%20la%20messagerie.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/unified-messaging/schema-de-la-messagerie-unifiee.html' rel='bookmark' title='Permanent Link: Schéma de la messagerie unifiée.'>Schéma de la messagerie unifiée.</a></li>
<li><a href='http://aidexchange.fr/powershell/utilisation-de-where-object.html' rel='bookmark' title='Permanent Link: Utilisation de Where-Object'>Utilisation de Where-Object</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/controle-de-exchange-2007.html' rel='bookmark' title='Permanent Link: Contrôle de Exchange 2007.'>Contrôle de Exchange 2007.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/infos/le-contrle-de-lutilisation-de-la-messagerie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copier les listes de distribution d&#8217;une boite.</title>
		<link>http://aidexchange.fr/exchange-2007/copier-les-listes-de-distribution-dune-boite.html</link>
		<comments>http://aidexchange.fr/exchange-2007/copier-les-listes-de-distribution-dune-boite.html#comments</comments>
		<pubDate>Thu, 11 Feb 2010 18:07:52 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Boite aux lettres]]></category>
		<category><![CDATA[Copie]]></category>
		<category><![CDATA[Liste de distribution]]></category>
		<category><![CDATA[Mailbox]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1068</guid>
		<description><![CDATA[Permet d&#8217;ajouter une boite dans les listes de distribution dont est membre un autre boite.

$srcuser = &#34;goldorak&#34;
$trgtuser = &#34;albator&#34;
Get-DistributionGroup -ResultSize unlimited -OrganizationalUnit &#34;domain.local&#34; &#124; foreach &#123;
$groupname = $_.name
Get-DistributionGroupMember -Identity $groupname &#124; Where-Object &#123; $_.Alias -eq $srcuser &#125; &#124; foreach &#123;
$groupname
Add-DistributionGroupMember -Identity $groupname -Member $trgtuser 
#Remove-DistributionGroupMember -Identity $groupname -Member $srcuser
&#125;
&#125;

     Share/Save

Related posts:Purger [...]


Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/purger-une-liste-de-distribution.html' rel='bookmark' title='Permanent Link: Purger une liste de distribution.'>Purger une liste de distribution.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/crer-liste-distribution-pour-les-boites-dune-database.html' rel='bookmark' title='Permanent Link: Créer une DL pour les boites d&#8217;une database.'>Créer une DL pour les boites d&#8217;une database.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/desactive-heritage-du-quota-sur-groupe.html' rel='bookmark' title='Permanent Link: Désactive l&#8217;héritage du quota sur un groupe.'>Désactive l&#8217;héritage du quota sur un groupe.</a></li>
</ol>

La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.]]></description>
			<content:encoded><![CDATA[<p>Permet d&#8217;ajouter une boite dans les listes de distribution dont est membre un autre boite.</p>

<div class="wp_codebox"><table><tr id="p106822"><td class="code" id="p1068code22"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$srcuser</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;goldorak&quot;</span>
<span style="color: #800080;">$trgtuser</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;albator&quot;</span>
Get<span style="color: pink;">-</span>DistributionGroup <span style="color: pink;">-</span>ResultSize unlimited <span style="color: pink;">-</span>OrganizationalUnit <span style="color: #800000;">&quot;domain.local&quot;</span> <span style="color: pink;">|</span> <span style="color: #0000FF;">foreach</span> <span style="color: #000000;">&#123;</span>
<span style="color: #800080;">$groupname</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.name
Get<span style="color: pink;">-</span>DistributionGroupMember <span style="color: pink;">-</span>Identity <span style="color: #800080;">$groupname</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>.Alias <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$srcuser</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;">$groupname</span>
Add<span style="color: pink;">-</span>DistributionGroupMember <span style="color: pink;">-</span>Identity <span style="color: #800080;">$groupname</span> <span style="color: pink;">-</span>Member <span style="color: #800080;">$trgtuser</span> 
<span style="color: #008000;">#Remove-DistributionGroupMember -Identity $groupname -Member $srcuser</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite." title="Twitter" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite." title="TechNet" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite." title="Facebook" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite." title="Digg" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite." title="Delicious" rel="nofollow" target="_blank"><img src="http://aidexchange.fr/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faidexchange.fr%2Fexchange-2007%2Fcopier-les-listes-de-distribution-dune-boite.html&amp;linkname=Copier%20les%20listes%20de%20distribution%20d%26%238217%3Bune%20boite.">Share/Save</a>

<p>Related posts:<ol><li><a href='http://aidexchange.fr/exchange-2007/purger-une-liste-de-distribution.html' rel='bookmark' title='Permanent Link: Purger une liste de distribution.'>Purger une liste de distribution.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/crer-liste-distribution-pour-les-boites-dune-database.html' rel='bookmark' title='Permanent Link: Créer une DL pour les boites d&#8217;une database.'>Créer une DL pour les boites d&#8217;une database.</a></li>
<li><a href='http://aidexchange.fr/exchange-2007/desactive-heritage-du-quota-sur-groupe.html' rel='bookmark' title='Permanent Link: Désactive l&#8217;héritage du quota sur un groupe.'>Désactive l&#8217;héritage du quota sur un groupe.</a></li>
</ol></p>
<p>La liste des entrées complémentaires est établie par le module d’extension <a href='http://mitcho.com/code/yarpp/'>YARPP</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/exchange-2007/copier-les-listes-de-distribution-dune-boite.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
