<?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 &#187; Active Directory</title>
	<atom:link href="http://aidexchange.fr/category/active-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://aidexchange.fr</link>
	<description>Aide pour Microsft Windows Server, Active Directory, Exchange, OCS...</description>
	<lastBuildDate>Fri, 18 Jun 2010 22:06:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Configurer un proxy auto dans Firefox par GPO.</title>
		<link>http://aidexchange.fr/active-directory/configurer-proxy-auto-firefox-gpo.html</link>
		<comments>http://aidexchange.fr/active-directory/configurer-proxy-auto-firefox-gpo.html#comments</comments>
		<pubDate>Wed, 09 Jun 2010 21:22:21 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Explorateur]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Proxy]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1484</guid>
		<description><![CDATA[La méthode suivante permet de configurer une &#171;&#160;Adresse de configuration automatique du proxy&#160;&#187; dans Mozilla Firefox par GPO dans Active Directory. Tout d&#8217;abord, préparer un batch pour la configuration. cd &#34;%userprofile%\Application Data\Mozilla\Firefox\Profiles\*default&#34; c: type prefs.js &#62;&#62; temp.txt echo user_pref(&#34;network.proxy.autoconfig_url&#34;, &#34;http://myproxy.domain.com/proxy.pac&#34;) &#62;&#62; temp.txt echo user_pref(&#34;network.proxy.type&#34;, 2) &#62;&#62; temp.txt move /y temp.txt prefs.js Ce batch ajoute deux [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://aidexchange.fr/wp-content/uploads/2010/06/firefox.png"><img class="aligncenter size-medium wp-image-1485" title="firefox_proxy_gpo" src="http://aidexchange.fr/wp-content/uploads/2010/06/firefox-255x300.png" alt="firefox_proxy_gpo" width="140" height="164" /></a></p>
<p>La méthode suivante permet de configurer une &laquo;&nbsp;Adresse de configuration automatique du proxy&nbsp;&raquo; dans Mozilla Firefox par GPO dans Active Directory.</p>
<p>Tout d&#8217;abord, préparer un batch pour la configuration.</p>

<div class="wp_codebox"><table><tr id="p14842"><td class="code" id="p1484code2"><pre class="cmd" style="font-family:monospace;">cd &quot;%userprofile%\Application Data\Mozilla\Firefox\Profiles\*default&quot;
c:
type prefs.js &gt;&gt; temp.txt
echo user_pref(&quot;network.proxy.autoconfig_url&quot;, &quot;http://myproxy.domain.com/proxy.pac&quot;) &gt;&gt; temp.txt
echo user_pref(&quot;network.proxy.type&quot;, 2) &gt;&gt; temp.txt
move /y temp.txt prefs.js</pre></td></tr></table></div>

<p>Ce batch ajoute deux lignes à la fin du fichier de configuration de Firefox présent dans le profil de l&#8217;utilisateur qui l&#8217;exécute.<br />
A l&#8217;ouverture de Firefox, celui-ci remplace les lignes de configurations déjà existante par celle se trouvant à la fin du fichier. Il n&#8217;y aura donc pas de lignes en double dans le fichier.<br />
En ajoutant uniquement ces deux lignes, cela évite également de modifier le reste de la configuration de l&#8217;utilisateur. (Préférences, page d&#8217;acceuil&#8230;)<br />
Vous pouvez afficher la configuration de Firefox en tapants <a href="about:config" target="_blank">about:config</a> dans la barre d&#8217;adresse.</p>
<h2></h2>
<p>Pour la mise en place de la GPO, il suffit de configurer l&#8217;exécution du script au logon dans la configuration utilisateur de la stratégie de groupe.</p>
<h2></h2>
<p>Cette méthode permet de configurer d&#8217;avantage d&#8217;options ou configurer différemment le proxy dans Firefox.</p>
]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/configurer-proxy-auto-firefox-gpo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liste les serveurs membres d&#8217;une OU.</title>
		<link>http://aidexchange.fr/active-directory/liste-serveurs-membres-ou.html</link>
		<comments>http://aidexchange.fr/active-directory/liste-serveurs-membres-ou.html#comments</comments>
		<pubDate>Fri, 09 Apr 2010 10:34:49 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Serveur]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1348</guid>
		<description><![CDATA[Permet de lister tous les serveurs membres du domaine présent dans une OU. Cette liste exclut donc les contrôleurs de domaine. Get-QADComputer -SearchRoot &#34;domain.local/FI00_Paris&#34; &#124; Foreach &#123; &#160; $start = $_.name.StartsWith&#40;&#34;SRV&#34;&#41; if &#40; $start -eq &#34;true&#34; -and $_.ComputerRole -ne &#34;DomainController&#34; &#41;&#123; Write-Host $_.name &#125; else &#123;&#125; &#125;]]></description>
			<content:encoded><![CDATA[<p>Permet de lister tous les serveurs membres du domaine présent dans une OU.<br />
Cette liste exclut donc les contrôleurs de domaine.</p>
<h2> </h2>

<div class="wp_codebox"><table><tr id="p13484"><td class="code" id="p1348code4"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>QADComputer <span style="color: pink;">-</span>SearchRoot <span style="color: #800000;">&quot;domain.local/FI00_Paris&quot;</span> <span style="color: pink;">|</span>
<span style="color: #0000FF;">Foreach</span> <span style="color: #000000;">&#123;</span>
&nbsp;
<span style="color: #800080;">$start</span> <span style="color: pink;">=</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.name.StartsWith<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;SRV&quot;</span><span style="color: #000000;">&#41;</span>
		<span style="color: #0000FF;">if</span> <span style="color: #000000;">&#40;</span> <span style="color: #800080;">$start</span> <span style="color: #FF0000;">-eq</span>  <span style="color: #800000;">&quot;true&quot;</span> <span style="color: #FF0000;">-and</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.ComputerRole <span style="color: #FF0000;">-ne</span> <span style="color: #800000;">&quot;DomainController&quot;</span>  <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
		<span style="color: #008080; font-weight: bold;">Write-Host</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.name
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0000FF;">else</span> <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/liste-serveurs-membres-ou.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Renseigner les téléphones d&#8217;un utilisateur.</title>
		<link>http://aidexchange.fr/active-directory/renseigner-numros-telephone-utilisateur.html</link>
		<comments>http://aidexchange.fr/active-directory/renseigner-numros-telephone-utilisateur.html#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:15:53 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Communicator]]></category>
		<category><![CDATA[Utilisateur]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1304</guid>
		<description><![CDATA[Renseigner individuellement les numéros de téléphone d&#8217;un utilisateur dans l&#8217;AD. Cela me permet ensuite de pouvoir les appeler depuis Communciator sans systématiquement redemander le numéro. Dans 10 ans, l&#8217;annuaire sera à jour. Numéro du bureau. $User = Read-Host &#34;Enter user name or alias&#34; $number = Read-Host &#34;Enter the phone number (+33 154876532)&#34; Set-User -Identity $User [...]]]></description>
			<content:encoded><![CDATA[<p>Renseigner individuellement les numéros de téléphone d&#8217;un utilisateur dans l&#8217;AD.<br />
Cela me permet ensuite de pouvoir les appeler depuis Communciator sans systématiquement redemander le numéro.<br />
Dans 10 ans, l&#8217;annuaire sera à jour. <img src='http://aidexchange.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Numéro du bureau.</p>

<div class="wp_codebox"><table><tr id="p13047"><td class="code" id="p1304code7"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$User</span>  <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Enter user name or alias&quot;</span>
<span style="color: #800080;">$number</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Enter the phone number (+33 154876532)&quot;</span>
Set<span style="color: pink;">-</span>User <span style="color: pink;">-</span>Identity <span style="color: #800080;">$User</span> <span style="color: pink;">-</span>Phone $number</pre></td></tr></table></div>

<p>Numéro de portable:</p>

<div class="wp_codebox"><table><tr id="p13048"><td class="code" id="p1304code8"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$User</span>  <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Enter user name or alias&quot;</span>
<span style="color: #800080;">$number</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Enter the phone number (+33 654876532)&quot;</span>
Set<span style="color: pink;">-</span>User <span style="color: pink;">-</span>Identity <span style="color: #800080;">$User</span> <span style="color: pink;">-</span>MobilePhone $number</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/renseigner-numros-telephone-utilisateur.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activer l&#8217;héritage de la sécurité sur un compte.</title>
		<link>http://aidexchange.fr/active-directory/activer-heritage-securite-compte.html</link>
		<comments>http://aidexchange.fr/active-directory/activer-heritage-securite-compte.html#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:06:33 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Droits]]></category>
		<category><![CDATA[Utilisateur]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1301</guid>
		<description><![CDATA[Permet de activer rapidement l&#8217;héritage des permissions dans les sécurités d&#8217;un compte AD. $user = Read-Host &#34;Enter user's logon&#34; Get-QADUser $user &#124; Set-QADObjectSecurity -UnlockInheritance]]></description>
			<content:encoded><![CDATA[<p>Permet de activer rapidement l&#8217;héritage des permissions dans les sécurités d&#8217;un compte AD.</p>
<h2> </h2>
<h2> </h2>

<div class="wp_codebox"><table><tr id="p130110"><td class="code" id="p1301code10"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$user</span>  <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Read-Host</span> <span style="color: #800000;">&quot;Enter user's logon&quot;</span>
Get<span style="color: pink;">-</span>QADUser <span style="color: #800080;">$user</span> <span style="color: pink;">|</span> Set<span style="color: pink;">-</span>QADObjectSecurity <span style="color: pink;">-</span>UnlockInheritance</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/activer-heritage-securite-compte.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activer la notification sur un lien de sites AD.</title>
		<link>http://aidexchange.fr/active-directory/activer-notification-lien-sites.html</link>
		<comments>http://aidexchange.fr/active-directory/activer-notification-lien-sites.html#comments</comments>
		<pubDate>Wed, 31 Mar 2010 11:00:35 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Réplications]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=1284</guid>
		<description><![CDATA[Activer les messages de notification sur les liens de sites dans Active Directory. Cela permet d&#8217;accélérer la réplication sur le domaine; A chaque modification d&#8217;un objet sur un contrôleur de domaine, celui-ci notifie les contrôleurs distants de la modification. Activer la notification: $sitelink=&#91;ADSI&#93;&#34;LDAP://CN=Site001-Site004,CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=domain,DC=local&#34; $sitelink.put&#40;&#34;options&#34;,&#34;1&#34;&#41; $sitelink.setinfo&#40;&#41; Vérifier la configuration: &#40;&#91;ADSI&#93;$sitelink&#41;.options]]></description>
			<content:encoded><![CDATA[<p>Activer les messages de notification sur les liens de sites dans Active Directory.<br />
Cela permet d&#8217;accélérer la réplication sur le domaine;<br />
A chaque modification d&#8217;un objet sur un contrôleur de domaine, celui-ci notifie les contrôleurs distants de la modification.</p>
<p>Activer la notification:</p>

<div class="wp_codebox"><table><tr id="p128413"><td class="code" id="p1284code13"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$sitelink</span><span style="color: pink;">=</span><span style="color: #000000;">&#91;</span>ADSI<span style="color: #000000;">&#93;</span><span style="color: #800000;">&quot;LDAP://CN=Site001-Site004,CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=domain,DC=local&quot;</span>
<span style="color: #800080;">$sitelink</span>.put<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;options&quot;</span><span style="color: pink;">,</span><span style="color: #800000;">&quot;1&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$sitelink</span>.setinfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<p>Vérifier la configuration:</p>

<div class="wp_codebox"><table><tr id="p128414"><td class="code" id="p1284code14"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>ADSI<span style="color: #000000;">&#93;</span><span style="color: #800080;">$sitelink</span><span style="color: #000000;">&#41;</span>.options</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/activer-notification-lien-sites.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 [...]]]></description>
			<content:encoded><![CDATA[<p>Permet d&#8217;effectuer une tache d&#8217;administration sur les membres d&#8217;un groupe.</p>
<h2> </h2>
<h2> </h2>

<div class="wp_codebox"><table><tr id="p110216"><td class="code" id="p1102code16"><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>

]]></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>Afficher le Lastlogon des utilisateurs d&#8217;une OU.</title>
		<link>http://aidexchange.fr/active-directory/afficher-le-lastlogon-des-utilisateurs-dune-ou.html</link>
		<comments>http://aidexchange.fr/active-directory/afficher-le-lastlogon-des-utilisateurs-dune-ou.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 10:44:50 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Logon]]></category>
		<category><![CDATA[Utilisateurs]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=985</guid>
		<description><![CDATA[Affiche le lastlogon des utilisateurs d&#8217;un OU. Get-QADUser -IncludeAllProperties -SizeLimit 0 -SearchRoot &#34;domain.local/OU_01&#34; &#124; ft Name,SamAccountName,LastLogon]]></description>
			<content:encoded><![CDATA[<p>Affiche le lastlogon des utilisateurs d&#8217;un OU.</p>

<div class="wp_codebox"><table><tr id="p98518"><td class="code" id="p985code18"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>QADUser <span style="color: pink;">-</span>IncludeAllProperties <span style="color: pink;">-</span>SizeLimit <span style="color: #804000;">0</span> <span style="color: pink;">-</span>SearchRoot <span style="color: #800000;">&quot;domain.local/OU_01&quot;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> Name<span style="color: pink;">,</span>SamAccountName<span style="color: pink;">,</span>LastLogon</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/afficher-le-lastlogon-des-utilisateurs-dune-ou.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Poster Windows 2008 R2.</title>
		<link>http://aidexchange.fr/active-directory/poster-windows-2008-r2.html</link>
		<comments>http://aidexchange.fr/active-directory/poster-windows-2008-r2.html#comments</comments>
		<pubDate>Wed, 03 Feb 2010 07:22:43 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Active Directory 2008]]></category>
		<category><![CDATA[Poster]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=977</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a title="Windows_Server_2008_R2_Feature_Components_Poster" href="http://aidexchange.fr/wp-content/uploads/2010/02/Windows_Server_2008_R2_Feature_Components_Poster.jpg" target="_blank"><img class="aligncenter" title="Windows_Server_2008_R2_Feature_Components_Poster_Preview" src="http://aidexchange.fr/wp-content/gallery/exchange/Windows_Server_2008_R2_Feature_Components_Poster_Preview.jpg" alt="" width="640" height="351" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/poster-windows-2008-r2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifier les comptes d&#8217;ordinateurs à supprimer.</title>
		<link>http://aidexchange.fr/active-directory/identifier-les-comptes-dordinateurs-supprimer.html</link>
		<comments>http://aidexchange.fr/active-directory/identifier-les-comptes-dordinateurs-supprimer.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 10:40:39 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Comptes]]></category>
		<category><![CDATA[Domaine]]></category>
		<category><![CDATA[Ordianteurs]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=975</guid>
		<description><![CDATA[Il arrive au bout d&#8217;un certain temps d&#8217;avoir des comptes d&#8217;ordinateurs qui ne servent plus dans le domaine. Pour identifier ces comptes qui ne se sont pas connectés depuis longtemps, lancer la commande: Get-QADComputer -IncludeAllProperties -SizeLimit 0 -SearchRoot &#34;domaine.local/OU_Computers&#34; &#124; ft Name,ParentContainer,OSName,pwdlastset Le &#171;&#160;pwdlastset&#160;&#187; correspond à la date de la dernière connexion de l&#8217;ordinateur sur [...]]]></description>
			<content:encoded><![CDATA[<p>Il arrive au bout d&#8217;un certain temps d&#8217;avoir des comptes d&#8217;ordinateurs qui ne servent plus dans le domaine.<br />
Pour identifier ces comptes qui ne se sont pas connectés depuis longtemps, lancer la commande:</p>

<div class="wp_codebox"><table><tr id="p97520"><td class="code" id="p975code20"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>QADComputer <span style="color: pink;">-</span>IncludeAllProperties <span style="color: pink;">-</span>SizeLimit <span style="color: #804000;">0</span> <span style="color: pink;">-</span>SearchRoot <span style="color: #800000;">&quot;domaine.local/OU_Computers&quot;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">ft</span> Name<span style="color: pink;">,</span>ParentContainer<span style="color: pink;">,</span>OSName<span style="color: pink;">,</span>pwdlastset</pre></td></tr></table></div>

<p>Le &laquo;&nbsp;pwdlastset&nbsp;&raquo; correspond à la date de la dernière connexion de l&#8217;ordinateur sur le domaine.</p>
]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/identifier-les-comptes-dordinateurs-supprimer.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supprimer une list d&#8217;utilisateurs d&#8217;un groupe.</title>
		<link>http://aidexchange.fr/active-directory/supprimer-une-list-dutilisateurs-dun-groupe.html</link>
		<comments>http://aidexchange.fr/active-directory/supprimer-une-list-dutilisateurs-dun-groupe.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:52:47 +0000</pubDate>
		<dc:creator>Christophe BLUTEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Groupes]]></category>
		<category><![CDATA[Suppression]]></category>
		<category><![CDATA[Utilisateurs]]></category>

		<guid isPermaLink="false">http://aidexchange.fr/?p=945</guid>
		<description><![CDATA[Permet de supprimer rapidement une liste d&#8217;utilisateurs d&#8217;un groupe AD. Import-Csv -Path .\remove-usersfromgroup.txt &#124; Foreach &#123;Remove-QADGroupMember -Identity &#34;Le_Groupe&#34; -Member $_.alias &#125;]]></description>
			<content:encoded><![CDATA[<p>Permet de supprimer rapidement une liste d&#8217;utilisateurs d&#8217;un groupe AD.</p>

<div class="wp_codebox"><table><tr id="p94522"><td class="code" id="p945code22"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Import-Csv</span> <span style="color: #008080; font-style: italic;">-Path</span> .\remove<span style="color: pink;">-</span>usersfromgroup.txt <span style="color: pink;">|</span> <span style="color: #0000FF;">Foreach</span> <span style="color: #000000;">&#123;</span>Remove<span style="color: pink;">-</span>QADGroupMember <span style="color: pink;">-</span>Identity <span style="color: #800000;">&quot;Le_Groupe&quot;</span> <span style="color: pink;">-</span>Member <a href="about:blank"><span style="color: #000080;">$_</span></a>.alias <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://aidexchange.fr/active-directory/supprimer-une-list-dutilisateurs-dun-groupe.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
