<?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>sheenaustin.com &#187; VBScript</title>
	<atom:link href="http://www.sheenaustin.com/tag/vbscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheenaustin.com</link>
	<description>my home on the interweb</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Active Directory Audit Script</title>
		<link>http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/</link>
		<comments>http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/#comments</comments>
		<pubDate>Tue, 05 May 2009 06:41:14 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Scripting]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Audit]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/</guid>
		<description><![CDATA[Paul Bergson wrote this brilliant script that queries active directory and gives you a wealth of information that can be used to audit active directory. I have slightly modified this script and added a few lines to get information like the email address and the exchange home server of the user using the mail and [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/06/19/active-directory-password-expiry-reminder-email/' rel='bookmark' title='Permanent Link: Active Directory Password Expiry Reminder Email'>Active Directory Password Expiry Reminder Email</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/29/script-to-hot-backup-vmware-esx-virtual-machines/' rel='bookmark' title='Permanent Link: Script to Hot Backup VMWare ESX Virtual Machines'>Script to Hot Backup VMWare ESX Virtual Machines</a></li>
<li><a href='http://www.sheenaustin.com/2008/12/06/script-to-kill-processes-older-than-x-days/' rel='bookmark' title='Permanent Link: Script to kill processes older than x days.'>Script to kill processes older than x days.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pbbergs.com" target="_blank">Paul Bergson</a> wrote <a href="http://www.pbbergs.com/windows/downloads.htm#AcctAttrib" target="_blank">this</a> brilliant script that queries active directory and gives you a wealth of information that can be used to audit active directory.</p>
<p>I have slightly modified this script and added a few lines to get information like the email address and the exchange home server of the user using the mail and msExchHomeServerName attributes.</p>
<p>You can download the modified script <a href="http://www.sheenaustin.com/wp-content/uploads/2009/05/accountattribs.vbs" target="_blank">here</a>.</p>
<p>How the script works:</p>
<p> <span id="more-113"></span>
<p>It queries Active Directory using LDAP for a bunch of known user attributes and writes them to a .csv file in the same directory as the script. The file is will be named yyyymmdd_audit.csv </p>
<p>NOTE: I am NOT the original author of this script. Please give all credit to <a href="http://www.pbbergs.com/windows/downloads.htm#AcctAttrib" target="_blank">Paul Bergson</a> who is an MVP for Directory Services.</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/06/19/active-directory-password-expiry-reminder-email/' rel='bookmark' title='Permanent Link: Active Directory Password Expiry Reminder Email'>Active Directory Password Expiry Reminder Email</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/29/script-to-hot-backup-vmware-esx-virtual-machines/' rel='bookmark' title='Permanent Link: Script to Hot Backup VMWare ESX Virtual Machines'>Script to Hot Backup VMWare ESX Virtual Machines</a></li>
<li><a href='http://www.sheenaustin.com/2008/12/06/script-to-kill-processes-older-than-x-days/' rel='bookmark' title='Permanent Link: Script to kill processes older than x days.'>Script to kill processes older than x days.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
