<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Powershell_Convert_AD_Groups</id>
	<title>Powershell Convert AD Groups - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Powershell_Convert_AD_Groups"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Powershell_Convert_AD_Groups&amp;action=history"/>
	<updated>2026-05-06T14:40:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Powershell_Convert_AD_Groups&amp;diff=884&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;==Overview== The title is a little misleading. What I really wanted to do is replicate the existing security groups as domain local, so I can assign users from another domain...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Powershell_Convert_AD_Groups&amp;diff=884&amp;oldid=prev"/>
		<updated>2018-07-31T20:32:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Overview== The title is a little misleading. What I really wanted to do is replicate the existing security groups as domain local, so I can assign users from another domain...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
The title is a little misleading. What I really wanted to do is replicate the existing security groups as domain local, so I can assign users from another domain to the groups. So in the end I converted&amp;lt;br&amp;gt;&lt;br /&gt;
SecurityGroup_1&amp;lt;br&amp;gt;&lt;br /&gt;
to&amp;lt;br&amp;gt;&lt;br /&gt;
new_SecurityGroup_1&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.....THIS NEEDS UPDATING.....&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, to replicate the memebers to the new group.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Get-ADGroup -Filter {GroupScope -eq 'Global'} -SearchBase &amp;quot;OU=SecurityGroups,DC=yourdomain,DC=tld&amp;quot; | foreach {$name=$_ | select -ExpandProperty name;$newname=&amp;quot;new_$name&amp;quot;; $_ |  Get-ADGroupMember | foreach {Add-ADGroupMember -Identity &amp;quot;$newname&amp;quot; $_}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>