<?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>Indented! &#187; Schema</title>
	<atom:link href="http://www.indented.co.uk/index.php/tag/schema/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indented.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 10:45:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VbScript: isMemberOfPartialAttributeSet</title>
		<link>http://www.indented.co.uk/index.php/2008/10/06/ismemberofpartialattributeset/</link>
		<comments>http://www.indented.co.uk/index.php/2008/10/06/ismemberofpartialattributeset/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 19:44:47 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[VbScript]]></category>
		<category><![CDATA[Global Catalog]]></category>
		<category><![CDATA[Schema]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.highorbit.co.uk/?p=128</guid>
		<description><![CDATA[This small script will list all attributes listed in the Active Directory Schema which have been set to replicate into the Global Catalog. Inclusion in the Global Catalog is defined by setting the attribute &#8220;isMemberOfPartialAttributeSet&#8221; to True. Set objRootDSE = GetObject(&#34;LDAP://RootDSE&#34;) Set objSchema = GetObject(&#34;LDAP://&#34; &#38; objRootDSE.Get(&#34;schemaNamingContext&#34;)) objSchema.Filter = Array(&#34;attributeSchema&#34;) For Each objAttribute in objSchema [...]


Related posts:<ol><li><a href='http://www.indented.co.uk/index.php/2009/10/02/get-dsacl/' rel='bookmark' title='Permanent Link: Get-DsAcl'>Get-DsAcl</a> <small>The goal of this PowerShell function is to create a...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This small script will list all attributes listed in the Active Directory Schema which have been set to replicate into the Global Catalog. Inclusion in the Global Catalog is defined by setting the attribute &#8220;isMemberOfPartialAttributeSet&#8221; to True.<br />
<span id="more-128"></span></p>
<pre class="brush: vb;">
Set objRootDSE = GetObject(&quot;LDAP://RootDSE&quot;)
Set objSchema = GetObject(&quot;LDAP://&quot; &amp; objRootDSE.Get(&quot;schemaNamingContext&quot;))

objSchema.Filter = Array(&quot;attributeSchema&quot;)
For Each objAttribute in objSchema
  On Error Resume Next
  booIsAttribute = False
  booIsAttribute = objAttribute.Get(&quot;isMemberOfPartialAttributeSet&quot;)
  On Error Goto 0
  If booIsAttribute = True Then
    WScript.Echo objAttribute.Get(&quot;lDAPDisplayName&quot;)
  End If
Next
</pre>


<p>Related posts:<ol><li><a href='http://www.indented.co.uk/index.php/2009/10/02/get-dsacl/' rel='bookmark' title='Permanent Link: Get-DsAcl'>Get-DsAcl</a> <small>The goal of this PowerShell function is to create a...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.indented.co.uk/index.php/2008/10/06/ismemberofpartialattributeset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
