<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Active Directory</title><link>http://powershell.com/cs/media/g/active-directory/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Remove Computer Account from All Domain controllers</title><link>http://powershell.com/cs/media/p/14884.aspx</link><pubDate>Fri, 24 Feb 2012 10:05:25 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:14884</guid><dc:creator>Aman Dhally</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have multiple domain controller on remote location then this script is quite useful. Before running this script make sure you have Active Directory Module installed.&lt;/p&gt;
&lt;p&gt;This script works for me .&lt;/p&gt;
&lt;p&gt;The Main Purpose of this script is to remove Comuter Account from all DC bfore joining it again to the domain.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;aman&lt;/p&gt;
&lt;p&gt;&lt;a href="http://newdelhipowershellusergroup.blogspot.com/"&gt;http://newdelhipowershellusergroup.blogspot.com/&lt;/a&gt;&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.01.48.84/Remove_5F00_Computer_5F00_AD.ps1" length="1468" type="application/octet-stream" /></item><item><title>Delete a Computer Object from AD in a Multi-Domain Environment</title><link>http://powershell.com/cs/media/p/14632.aspx</link><pubDate>Mon, 13 Feb 2012 23:23:36 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:14632</guid><dc:creator>HighPockets</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Deletes a computer object from a chosen domain.&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.01.46.32/DeleteComputerObjectfromAD.ps1" length="10567" type="application/octet-stream" /></item><item><title>Remote Server Administration Tools" Deployment using PowerShell</title><link>http://powershell.com/cs/media/p/14622.aspx</link><pubDate>Mon, 13 Feb 2012 16:59:50 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:14622</guid><dc:creator>Aman Dhally</dc:creator><slash:comments>0</slash:comments><description>&lt;div class="endscriptcode"&gt;Hi,&lt;/div&gt;
&lt;div class="endscriptcode"&gt;we are doing some active direcotry task on our environt. These &amp;quot;active directory&amp;quot; is going to be done on &amp;quot;New formatted Laptops&amp;quot;. Our scripts are using Active Directory based cmdlets.&lt;/div&gt;
&lt;div class="endscriptcode"&gt;So here the problem arise how can we install the &amp;quot;RSAT&amp;quot; tools automaticall and enable the &amp;quot;Active Directory PowerShell Module&amp;quot; feature in it so that we can import-active Directory module within the script.&lt;/div&gt;
&lt;div class="endscriptcode"&gt;Somehow i am able to do this .. This is not to smart script but this works for  me..&lt;/div&gt;
&lt;div class="endscriptcode"&gt;for more info in to this script check this link : &lt;a href="http://newdelhipowershellusergroup.blogspot.in/2012/02/automate-server-administration-tools.html"&gt;http://newdelhipowershellusergroup.blogspot.in/2012/02/automate-server-administration-tools.html&lt;/a&gt;&lt;/div&gt;
&lt;div class="endscriptcode"&gt;Thanks&lt;/div&gt;
&lt;div class="endscriptcode"&gt;Aman Dhally&lt;/div&gt;
&lt;div class="endscriptcode"&gt;&lt;a href="mailto:amandhally@gmail.com"&gt;amandhally@gmail.com&lt;/a&gt;&lt;/div&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.01.46.22/RSAT_5F00_Deployment.ps1" length="4064" type="application/octet-stream" /></item><item><title>Get-MailAddress</title><link>http://powershell.com/cs/media/p/12931.aspx</link><pubDate>Wed, 26 Oct 2011 16:59:59 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:12931</guid><dc:creator>Axel Kara</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just a simple function to get an users mail address.&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.01.29.31/Get_2D00_MailAddress.ps1" length="956" type="application/octet-stream" /></item><item><title>AD Tools with GUI</title><link>http://powershell.com/cs/media/p/8420.aspx</link><pubDate>Mon, 22 Nov 2010 19:40:21 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:8420</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;color:#008000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#008000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#008000;font-size:x-small;"&gt;
&lt;p&gt;&amp;lt;# &lt;/p&gt;
&lt;p&gt;.SYNOPSIS &lt;/p&gt;
&lt;p&gt;Some really nice tools to manage your AD environment. &lt;/p&gt;
&lt;p&gt;.DESCRIPTION &lt;/p&gt;
&lt;p&gt;Add Objects to Groups, Remove Objects from Groups, Create Objects, Delete Objects, Count Members in an OU/Container, Unlock accounts, Move Objects from one OU to another and Get and Edit AD Objects properties.&lt;/p&gt;
&lt;p&gt;.PARAMETER&lt;/p&gt;
&lt;p&gt;Just select the option you want and specify the required field. &lt;/p&gt;
&lt;p&gt;.EXAMPLE &lt;/p&gt;
&lt;p&gt;.\ADTools.ps1 &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;font face="Courier New" size="2" color="#008000"&gt;&lt;font face="Courier New" size="2" color="#008000"&gt;&lt;font face="Courier New" size="2" color="#008000"&gt;
&lt;p&gt;#&amp;gt;&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Courier New" size="2" color="#008000"&gt;&lt;font face="Courier New" size="2" color="#008000"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Courier New" size="2" color="#008000"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.84.20/ADTools.ps1" length="36333" type="application/octet-stream" /></item><item><title>Display the number of members of each OU in your AD with GUI</title><link>http://powershell.com/cs/media/p/7913.aspx</link><pubDate>Wed, 20 Oct 2010 04:08:19 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7913</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is the same as the other one but with a Graphic User Interface.&lt;/p&gt;
&lt;p&gt;Display the number of members of each OU in your AD, recursivelly from the one you specify as parameter.&lt;/p&gt;
&lt;p&gt;Just type the OU name and click GET.&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.79.13/CountOUMembersGUI.ps1" length="2471" type="application/octet-stream" /></item><item><title>Display the number of members of each OU in your AD</title><link>http://powershell.com/cs/media/p/7911.aspx</link><pubDate>Wed, 20 Oct 2010 03:39:13 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7911</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Display the number of members of each OU in your AD, recursivelly from the one you specify as parameter.&lt;/p&gt;
&lt;p&gt;Remember to specify an OU.&lt;/p&gt;
&lt;p&gt;Example: .\CountOUMembers.ps1(&amp;quot;Computers&amp;quot;) or .\CountOUMembers.ps1 &amp;quot;Computers&amp;quot;&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.79.11/CountOUMembers.ps1" length="1158" type="application/octet-stream" /></item><item><title>Generate a report of all members of a specified AD group</title><link>http://powershell.com/cs/media/p/7776.aspx</link><pubDate>Tue, 05 Oct 2010 22:15:07 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7776</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just change the -SearchRoot location for your own.&lt;/p&gt;
&lt;p&gt;Also change where you want the report to be saved.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.77.76/appGroups.ps1" length="826" type="application/octet-stream" /></item><item><title>Copy Group Membership from one computer to another</title><link>http://powershell.com/cs/media/p/7663.aspx</link><pubDate>Tue, 21 Sep 2010 01:25:28 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7663</guid><dc:creator>Felipe</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is a more complex script and harder to explain, but let&amp;#39;s try..&lt;/p&gt;
&lt;p&gt;First the script creates a new object to hold a Task Sequence variable.&lt;/p&gt;
&lt;p&gt;Then it checks if it really got the name and if it did not, it trys to look in the D:\XPcomputername.txt&lt;/p&gt;
&lt;p&gt;You can make this file, creating a run command in your TS. The command is cmd /c %_SMSTSMachineName% &amp;gt; D:\XPcomputername (you can put here whatever and wherever you want)&lt;/p&gt;
&lt;p&gt;Cool. Then if it still doesn&amp;#39;t have the name, then it quits.&lt;/p&gt;
&lt;p&gt;Otherwise it gets&amp;nbsp;the new computer name. Copy all the groups from the old computer to the new computer.&lt;/p&gt;
&lt;p&gt;Then it checks if both computers have the same&amp;nbsp;groups before deleting the old computer from AD.&lt;/p&gt;
&lt;p&gt;Oh yes and &amp;nbsp;this &lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;font face="Courier New" size="2"&gt;&lt;font face="Courier New" size="2"&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Courier New" size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;color:#800080;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#800080;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#800080;font-size:x-small;"&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;.DN &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;color:#ff0000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#ff0000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#ff0000;font-size:x-small;"&gt;-notmatch&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;color:#800000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#800000;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;color:#800000;font-size:x-small;"&gt;&amp;quot;CN=Domain&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;means that it should not copy this group. The reason is that it&amp;#39;s the primary gorup for all the computers here and it can&amp;#39;t be overwriten. So to avoid problems it is excluded.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;&lt;span style="font-family:Courier New;font-size:x-small;"&gt;You can adapt this script to satisfy your needs. And you don&amp;#39;t need to run it from the TS. You will have to make some changes though.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.76.63/Copy_2D00_Membership.ps1" length="958" type="application/octet-stream" /></item><item><title>Move computer to required OU based on computer type</title><link>http://powershell.com/cs/media/p/7616.aspx</link><pubDate>Wed, 15 Sep 2010 23:06:40 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7616</guid><dc:creator>Felipe</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;A new version of the script.&lt;/p&gt;
&lt;p&gt;In this version it is not necessary to have the Quest Active Roles installed.&lt;/p&gt;
&lt;p&gt;It moves the computer based on its type.&lt;/p&gt;
&lt;p&gt;So if the computer&amp;#39;s type equals to 2, it moves to some OU otherwise to another OU.&lt;/p&gt;
&lt;p&gt;You can adapt it to your needs.&lt;/p&gt;
&lt;p&gt;And of course do not forget to change the LDAP OU and DC details with your own.&lt;/p&gt;</description><enclosure url="" length="938" type="application/octet-stream" /></item><item><title>Move computer to required OU based on computer model</title><link>http://powershell.com/cs/media/p/7513.aspx</link><pubDate>Tue, 31 Aug 2010 20:26:44 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7513</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Requires the Quest ActiveRoles ADManagement&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.75.13/moveOU.ps1" length="828" type="application/octet-stream" /></item><item><title>Write computer model to AD object description</title><link>http://powershell.com/cs/media/p/7492.aspx</link><pubDate>Thu, 26 Aug 2010 22:11:53 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:7492</guid><dc:creator>Felipe</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Get the computer model through a WMI query (you can get something else) and write it to the computer description in AD.&lt;/p&gt;
&lt;p&gt;Do not forget to change the path&amp;nbsp;to your required OU.&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.74.92/ADComputerDesc.ps1" length="599" type="application/octet-stream" /></item><item><title>Powershell to check and Ad Domain and Forest Mode</title><link>http://powershell.com/cs/media/p/4350.aspx</link><pubDate>Thu, 31 Dec 2009 13:48:38 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:4350</guid><dc:creator>Krishna</dc:creator><slash:comments>0</slash:comments><description /><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.43.50/CheckDoaminandForestMode.ps1" length="118" type="application/octet-stream" /></item><item><title>Powershell to Add new MX record into DNS</title><link>http://powershell.com/cs/media/p/4193.aspx</link><pubDate>Sat, 19 Dec 2009 17:48:42 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:4193</guid><dc:creator>Krishna</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Regards,&lt;br /&gt;Krishna&lt;br /&gt;&lt;a href="http://smtpport25.wordpress.com"&gt;http://smtpport25.wordpress.com&lt;/a&gt;&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.41.93/Powershell_5F00_MXrecords.ps1" length="392" type="application/octet-stream" /></item><item><title>Powershell to Add New A Record into DNS</title><link>http://powershell.com/cs/media/p/4192.aspx</link><pubDate>Sat, 19 Dec 2009 17:47:27 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:4192</guid><dc:creator>Krishna</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This powershell helps to add new A Record into DNS&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Krishna&lt;br /&gt;&lt;a href="http://smtpport25.wordpress.com"&gt;http://smtpport25.wordpress.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><enclosure url="http://powershell.com/cs/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.41.92/Powershell_5F00_Arecords.Ps1" length="281" type="application/octet-stream" /></item></channel></rss>
