<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Active-Directory on sigtar.com</title>
		<link>https://sigtar.com/tags/active-directory/</link>
		<description>Recent content in Active-Directory on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Wed, 08 Jul 2015 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/active-directory/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Finding orphaned GPO policies</title>
				<link>https://sigtar.com/2015/07/08/finding-orphaned-gpo-policies/</link>
				<pubDate>Wed, 08 Jul 2015 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2015/07/08/finding-orphaned-gpo-policies/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://sigtar.com/2015/07/08/finding-orphaned-gpo-policies/download-1/&#34;&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/download-1.jpg&#34; alt=&#34;download (1)&#34;&gt;&lt;/a&gt;I&amp;rsquo;ve used the following attached script to find orphaned GPOs.&lt;/p&gt;&#xA;&lt;p&gt;It can do the following;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;GPOs that exist within SYSVOL but not within the GPO management console.&lt;/li&gt;&#xA;&lt;li&gt;Also vice versa - GPOs in management console but not in SYSVOL.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Very handy. &lt;a href=&#34;https://sigtar.com/2015/07/08/finding-orphaned-gpo-policies/gpo-check/&#34;&gt;GPO Check&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Active Directory- redirect default Containers to Organisational Units</title>
				<link>https://sigtar.com/2013/09/19/active-directory-redirect-default-containers-to-organisational-units/</link>
				<pubDate>Thu, 19 Sep 2013 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2013/09/19/active-directory-redirect-default-containers-to-organisational-units/</guid>
				<description>&lt;p&gt;One really useful tidbit I picked up last week –&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Redirusr&lt;/strong&gt; &amp;amp; &lt;strong&gt;redircmp&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Configures the default OU for computers and users so they don’t appear in the default containers when they are added (effectively meaning they only get root domain policies).&lt;/p&gt;&#xA;&lt;p&gt;As you would guess – it helps keep the default AD containers clean by placing machines straight into an OU and also applying any policies attached.&lt;/p&gt;</description>
			</item>
			<item>
				<title>powershell - move machine types to certain OUs in active directory</title>
				<link>https://sigtar.com/2013/07/11/powershell-move-machine-types-to-certain-ous-in-active-directory/</link>
				<pubDate>Thu, 11 Jul 2013 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2013/07/11/powershell-move-machine-types-to-certain-ous-in-active-directory/</guid>
				<description>&lt;p&gt;&lt;code&gt;-------------- select additional parameters ----------------------&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Get-ADComputer -Filter * -Properties ipv4Address, OperatingSystem, OperatingSystemServicePack | Format-table name, ipv4*, operatingsystem&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;-------------- move script -----------------&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;[cmdletbinding()]&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;param ( [parameter(mandatory=$true)] $TargetOU )&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Import-Module ActiveDirectory $Domain = [ADSI]&amp;quot;&amp;quot; $DN=$domain.distinguishedName $SourcePath = &amp;quot;CN=Computers,&amp;quot; + $DN $Computers = Get-ADComputer -Filter * -SearchBase $SourcePath if(!$Computers) { write-host &amp;quot;No Computers are found in default container&amp;quot; return } foreach ($Computer in $Computers) { if(!(Move-ADObject $Computer -TargetPath $TargetOU)) { $Status = &amp;quot;SUCCESS&amp;quot; } else { $Status = &amp;quot;FAILED&amp;quot; } $OutputObj = New-Object -TypeName PSobject $OutputObj | Add-Member -MemberType NoteProperty -Name ComputerName -Value $Computer.Name.tostring() $OutputObj | Add-Member -MemberType NoteProperty -Name SourcePath -Value $SourcePath $OutputObj | Add-Member -MemberType NoteProperty -Name DestinationPath -Value $TargetOU $OutputObj | Add-Member -MemberType NoteProperty -Name Status -Value $Status $OutputObj }&lt;/code&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
