<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Updating_ProxyAddresses%2C_Example_1</id>
		<title>Updating ProxyAddresses, Example 1 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Updating_ProxyAddresses%2C_Example_1"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Updating_ProxyAddresses,_Example_1&amp;action=history"/>
		<updated>2026-05-06T14:09:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Updating_ProxyAddresses,_Example_1&amp;diff=1342&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;powershell&quot;&gt; Import-Module ActiveDirectory  $newproxy = &quot;@domainname.com&quot; $userou = 'ou=Users,ou=Directory Sync,ou=Org,dc=domain,dc=domain,dc=com' $users = Get-A...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Updating_ProxyAddresses,_Example_1&amp;diff=1342&amp;oldid=prev"/>
				<updated>2014-11-11T12:39:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;powershell&amp;quot;&amp;gt; Import-Module ActiveDirectory  $newproxy = &amp;quot;@domainname.com&amp;quot; $userou = &amp;#039;ou=Users,ou=Directory Sync,ou=Org,dc=domain,dc=domain,dc=com&amp;#039; $users = Get-A...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;powershell&amp;quot;&amp;gt;&lt;br /&gt;
Import-Module ActiveDirectory&lt;br /&gt;
&lt;br /&gt;
$newproxy = &amp;quot;@domainname.com&amp;quot;&lt;br /&gt;
$userou = 'ou=Users,ou=Directory Sync,ou=Org,dc=domain,dc=domain,dc=com'&lt;br /&gt;
$users = Get-ADUser -Filter 'Name -like &amp;quot;Test&amp;quot;' -SearchBase $userou -Properties SamAccountName, ProxyAddresses &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Foreach ($user in $users) {&lt;br /&gt;
    Set-ADUser -Identity $user.samaccountname -Add @{Proxyaddresses=&amp;quot;SMTP:&amp;quot;+$user.samaccountname+&amp;quot;.&amp;quot;+$newproxy}&lt;br /&gt;
    } &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>