<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Hican.net</title>
	<atom:link href="http://www.hican.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hican.net</link>
	<description>IT Blog about all that is interesting.</description>
	<lastBuildDate>Wed, 01 Feb 2012 08:57:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on VBScript: Auto Create SCCM Software Metering Rules by Tim Jonson</title>
		<link>http://www.hican.net/2012/01/30/vbscript-auto-create-sccm-software-metering-rules/#comment-35</link>
		<dc:creator>Tim Jonson</dc:creator>
		<pubDate>Wed, 01 Feb 2012 08:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?p=148#comment-35</guid>
		<description>It&#039;s quite hard to find a good site. And I think I am lucky enough to have come here. The posts are doing great and full of good insights. I would be glad to keep on coming back here to check for updates! 
&lt;a href=&quot;http://freegovernmentcellphones.co/&quot; rel=&quot;nofollow&quot;&gt;free government cell phones&lt;/a&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s quite hard to find a good site. And I think I am lucky enough to have come here. The posts are doing great and full of good insights. I would be glad to keep on coming back here to check for updates!<br />
<a href="http://freegovernmentcellphones.co/" rel="nofollow">free government cell phones</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact by VBScript: Install Oracle Webclient (Kill Predeploy.htm) &#124; Hican.net &#124; IT Blog about all that is interesting.</title>
		<link>http://www.hican.net/contact/#comment-34</link>
		<dc:creator>VBScript: Install Oracle Webclient (Kill Predeploy.htm) &#124; Hican.net &#124; IT Blog about all that is interesting.</dc:creator>
		<pubDate>Tue, 17 Jan 2012 11:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?page_id=24#comment-34</guid>
		<description>[...] About Tech Contact    [...]</description>
		<content:encoded><![CDATA[<p>[...] About Tech Contact    [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact by PowerShell: Create Active Directory Users Based On Excel Input &#124; Hican.net &#124; IT Blog about all that is interesting.</title>
		<link>http://www.hican.net/contact/#comment-33</link>
		<dc:creator>PowerShell: Create Active Directory Users Based On Excel Input &#124; Hican.net &#124; IT Blog about all that is interesting.</dc:creator>
		<pubDate>Fri, 23 Dec 2011 09:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?page_id=24#comment-33</guid>
		<description>[...] About Tech Contact    [...]</description>
		<content:encoded><![CDATA[<p>[...] About Tech Contact    [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VBScript: Output Active Directory User Information To Excel by Duplication</title>
		<link>http://www.hican.net/2011/12/14/vbscript-output-active-directory-user-information-to-excel/#comment-32</link>
		<dc:creator>Duplication</dc:creator>
		<pubDate>Mon, 19 Dec 2011 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?p=110#comment-32</guid>
		<description>This active excel format is really appreciated by users which result to be best.</description>
		<content:encoded><![CDATA[<p>This active excel format is really appreciated by users which result to be best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VBScript: Count Active Directory Users by Hican</title>
		<link>http://www.hican.net/2011/12/06/vbscript-count-active-directory-users/#comment-28</link>
		<dc:creator>Hican</dc:creator>
		<pubDate>Fri, 09 Dec 2011 23:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?p=106#comment-28</guid>
		<description>Hi Willem-Jan,

first of all, thanks for posting on the website :) No problem that you changed the code! You can always change it to your needs and likes, it is here to help you.

Stop by more often!</description>
		<content:encoded><![CDATA[<p>Hi Willem-Jan,</p>
<p>first of all, thanks for posting on the website <img src='http://www.hican.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  No problem that you changed the code! You can always change it to your needs and likes, it is here to help you.</p>
<p>Stop by more often!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VBScript: Count Active Directory Users by Willem-Jan Vroom</title>
		<link>http://www.hican.net/2011/12/06/vbscript-count-active-directory-users/#comment-27</link>
		<dc:creator>Willem-Jan Vroom</dc:creator>
		<pubDate>Fri, 09 Dec 2011 21:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.hican.net/?p=106#comment-27</guid>
		<description>Hello Marius,

I have slightly modified your code.

Const ADS_SCOPE = 2
 
Set objConnection                    = CreateObject(&quot;ADODB.Connection&quot;)
Set objCommand                       = CreateObject(&quot;ADODB.Command&quot;)
 
objConnection.Provider               = &quot;ADsDSOObject&quot;
objConnection.Open &quot;Active Directory Provider&quot;
Set objCommand.ActiveConnection      = objConnection

&#039;-- Added code --

Set objRootDSE                       = GetObject(&quot;LDAP://RootDSE&quot;) 
strDNSDomain                         = objRootDSE.Get(&quot;defaultNamingContext&quot;)

&#039;-- End added code --
 
objCommand.Properties(&quot;Page Size&quot;)   = 10000
objCommand.Properties(&quot;Searchscope&quot;) = ADS_SCOPE

&#039;-- Modified line:

objCommand.CommandText = _
&quot;Select Name From &#039;LDAP://&quot; &amp; strDNSDomain &amp; &quot;&#039; Where objectCategory = &#039;Person&#039;&quot;
 
Set objRecordSet = objCommand.Execute
MsgBox &quot;Total Number Of Users Found : &quot; &amp; objRecordSet.RecordCount &amp; &quot; in domain : &quot; &amp; strDNSDomain</description>
		<content:encoded><![CDATA[<p>Hello Marius,</p>
<p>I have slightly modified your code.</p>
<p>Const ADS_SCOPE = 2</p>
<p>Set objConnection                    = CreateObject(&#8220;ADODB.Connection&#8221;)<br />
Set objCommand                       = CreateObject(&#8220;ADODB.Command&#8221;)</p>
<p>objConnection.Provider               = &#8220;ADsDSOObject&#8221;<br />
objConnection.Open &#8220;Active Directory Provider&#8221;<br />
Set objCommand.ActiveConnection      = objConnection</p>
<p>&#8216;&#8211; Added code &#8211;</p>
<p>Set objRootDSE                       = GetObject(&#8220;LDAP://RootDSE&#8221;)<br />
strDNSDomain                         = objRootDSE.Get(&#8220;defaultNamingContext&#8221;)</p>
<p>&#8216;&#8211; End added code &#8211;</p>
<p>objCommand.Properties(&#8220;Page Size&#8221;)   = 10000<br />
objCommand.Properties(&#8220;Searchscope&#8221;) = ADS_SCOPE</p>
<p>&#8216;&#8211; Modified line:</p>
<p>objCommand.CommandText = _<br />
&#8220;Select Name From &#8216;LDAP://&#8221; &amp; strDNSDomain &amp; &#8220;&#8216; Where objectCategory = &#8216;Person&#8217;&#8221;</p>
<p>Set objRecordSet = objCommand.Execute<br />
MsgBox &#8220;Total Number Of Users Found : &#8221; &amp; objRecordSet.RecordCount &amp; &#8221; in domain : &#8221; &amp; strDNSDomain</p>
]]></content:encoded>
	</item>
</channel>
</rss>

