<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Active Directory: E-mail Notification for Newly Added Users and Computers</title>
	<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/</link>
	<description>ls /usr/lolcat</description>
	<pubDate>Sun, 12 Oct 2008 10:52:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Don Barker</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10423</link>
		<dc:creator>Don Barker</dc:creator>
		<pubDate>Wed, 08 Oct 2008 23:57:15 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10423</guid>
		<description>I Love this Script. Nice work!</description>
		<content:encoded><![CDATA[<p>I Love this Script. Nice work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrBOFH</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10257</link>
		<dc:creator>mrBOFH</dc:creator>
		<pubDate>Wed, 25 Jun 2008 15:16:18 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10257</guid>
		<description>Thanks for the script. I ran into similar problems as Mohamed Ghaleb  and fixed those by changing the below lines (Windows XP Pro box)

Function CompareDateUTCConvert(dateAddInterval,compareNumber)
'Wow, this is a lil complex. So createTimestamp is in UTC format.
'So first we grab your machine's time bias and then apply it.
'Next, we adjust the date to the one you specified above (now()-24hours by default)
'Finally, we parse the final date to UTC format ie. 20070207032200.0Z

Replaced line 91
'Set objSWbemServices = GetObject("winmgmts:\\" &#38; "{impersonationLevel=impersonate}!\.\root\cimv2")

With: 
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") 
Set objWMIService = objSWBemlocator.ConnectServer(strComputer,"\root\CIMV2") 

And line 94
'  Set colTimeZone = objSWbemServices.ExecQuery("SELECT * FROM Win32_TimeZone")

With:
  Set colTimeZone = objWMIService.ExecQuery("SELECT * FROM Win32_TimeZone")

The script now runs without a hitch. Now if I could only find out where to find how it was that added a user or computer.</description>
		<content:encoded><![CDATA[<p>Thanks for the script. I ran into similar problems as Mohamed Ghaleb  and fixed those by changing the below lines (Windows XP Pro box)</p>
<p>Function CompareDateUTCConvert(dateAddInterval,compareNumber)<br />
'Wow, this is a lil complex. So createTimestamp is in UTC format.<br />
'So first we grab your machine's time bias and then apply it.<br />
'Next, we adjust the date to the one you specified above (now()-24hours by default)<br />
'Finally, we parse the final date to UTC format ie. 20070207032200.0Z</p>
<p>Replaced line 91<br />
'Set objSWbemServices = GetObject("winmgmts:\\" &amp; "{impersonationLevel=impersonate}!\.\root\cimv2")</p>
<p>With:<br />
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")<br />
Set objWMIService = objSWBemlocator.ConnectServer(strComputer,"\root\CIMV2") </p>
<p>And line 94<br />
'  Set colTimeZone = objSWbemServices.ExecQuery("SELECT * FROM Win32_TimeZone")</p>
<p>With:<br />
  Set colTimeZone = objWMIService.ExecQuery("SELECT * FROM Win32_TimeZone")</p>
<p>The script now runs without a hitch. Now if I could only find out where to find how it was that added a user or computer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed Ghaleb</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10053</link>
		<dc:creator>Mohamed Ghaleb</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:46:19 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10053</guid>
		<description>By the way, I saved it on the DC it self, and running it with a Domain admin account.</description>
		<content:encoded><![CDATA[<p>By the way, I saved it on the DC it self, and running it with a Domain admin account.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed Ghaleb</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10052</link>
		<dc:creator>Mohamed Ghaleb</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:45:48 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-10052</guid>
		<description>Hi, I got Windows Script Host Error in line 90 Char 1, Unspecified error, code 80004005, source: (null)

I am in need to that script any help would be really great.

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, I got Windows Script Host Error in line 90 Char 1, Unspecified error, code 80004005, source: (null)</p>
<p>I am in need to that script any help would be really great.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RT</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-641</link>
		<dc:creator>RT</dc:creator>
		<pubDate>Wed, 19 Sep 2007 22:31:08 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-641</guid>
		<description>Is there anyway you can modify the script so that it ONLY emails if there are changes in the AD.  I  manage many servers and I do not need emails for servers that did not change.

Thx.</description>
		<content:encoded><![CDATA[<p>Is there anyway you can modify the script so that it ONLY emails if there are changes in the AD.  I  manage many servers and I do not need emails for servers that did not change.</p>
<p>Thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-640</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Fri, 10 Aug 2007 00:06:34 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-640</guid>
		<description>Any chance you have some code that will email when any AD user or computer account data is changed?

Thanks!</description>
		<content:encoded><![CDATA[<p>Any chance you have some code that will email when any AD user or computer account data is changed?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Sipp</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-639</link>
		<dc:creator>David Sipp</dc:creator>
		<pubDate>Wed, 11 Jul 2007 04:39:19 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-639</guid>
		<description>Ok, I figured it out. AV software caused the block. DOHHH!</description>
		<content:encoded><![CDATA[<p>Ok, I figured it out. AV software caused the block. DOHHH!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Sipp</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-638</link>
		<dc:creator>David Sipp</dc:creator>
		<pubDate>Wed, 11 Jul 2007 00:35:17 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-638</guid>
		<description>Exactly what I need. But I can not get a result. I am a domain admin and know the names and DNS are good. Scrip runs error free, just never recieve the results email? Here is what i have done to the variables section:
'Please modify these four settings
strSMTPServer = "daltfccxm01"
strEmailFrom = "David Sipp "
strEmailTo = "User "

strTimeInUTC = CompareDateUTCConvert("h",-72)

What can I check?

Thanks,

Dsipp</description>
		<content:encoded><![CDATA[<p>Exactly what I need. But I can not get a result. I am a domain admin and know the names and DNS are good. Scrip runs error free, just never recieve the results email? Here is what i have done to the variables section:<br />
'Please modify these four settings<br />
strSMTPServer = "daltfccxm01"<br />
strEmailFrom = "David Sipp "<br />
strEmailTo = "User "</p>
<p>strTimeInUTC = CompareDateUTCConvert("h",-72)</p>
<p>What can I check?</p>
<p>Thanks,</p>
<p>Dsipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mirza A. Baig</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-637</link>
		<dc:creator>Mirza A. Baig</dc:creator>
		<pubDate>Thu, 07 Jun 2007 05:21:12 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-637</guid>
		<description>Do you have a script that will send email notification once a computer account has been moved to a particular OU?</description>
		<content:encoded><![CDATA[<p>Do you have a script that will send email notification once a computer account has been moved to a particular OU?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mirza A. Baig</title>
		<link>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-636</link>
		<dc:creator>Mirza A. Baig</dc:creator>
		<pubDate>Thu, 07 Jun 2007 05:19:48 +0000</pubDate>
		<guid>http://blog.netnerds.net/2007/02/active-directory-newly-added-users-and-computers-notification-via-e-mail/#comment-636</guid>
		<description>Hello,
I have been using this script for months now.  It has been really handy.  All I really need is for it to send email notification once a computer account is created.  It was working, but now it is not.  Nothing within the script has changed.  It does still sends me notifications, but it says that 0 new users and 0 new computers have been added.  Can you please assist?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have been using this script for months now.  It has been really handy.  All I really need is for it to send email notification once a computer account is created.  It was working, but now it is not.  Nothing within the script has changed.  It does still sends me notifications, but it says that 0 new users and 0 new computers have been added.  Can you please assist?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
