<?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>code.commongroove.com &#187; Active Directory</title>
	<atom:link href="http://code.commongroove.com/category/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.commongroove.com</link>
	<description>C#, T-SQL, and general IT mojo</description>
	<lastBuildDate>Thu, 26 Jan 2012 03:00:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quickly Create Test Users on your Domain Controller</title>
		<link>http://code.commongroove.com/2010/04/07/quickly-create-test-users-on-your-domain-controller/</link>
		<comments>http://code.commongroove.com/2010/04/07/quickly-create-test-users-on-your-domain-controller/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 15:14:38 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Batch Files]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/?p=149</guid>
		<description><![CDATA[If you are looking for a quick way to create test users in your domain, you can do so through the old NET USER command.  You will have to run this on your domain controller&#8217;s command prompt.  The following will &#8230; <a href="http://code.commongroove.com/2010/04/07/quickly-create-test-users-on-your-domain-controller/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are looking for a quick way to create test users in your domain, you can do so through the old NET USER command.  You will have to run this on your domain controller&#8217;s command prompt.  The following will create 200k test users:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00b100; font-weight: bold;">for</span> /l <span style="color: #33cc33;">%</span><span style="color: #448888;">i</span> <span style="color: #00b100; font-weight: bold;">in</span> <span style="color: #33cc33;">(</span>1,1,200000<span style="color: #33cc33;">)</span> <span style="color: #00b100; font-weight: bold;">do</span> net user TestUser<span style="color: #33cc33;">%</span><span style="color: #448888;">i</span> p<span style="color: #33cc33;">@</span>ssw0rd /domain /add</div></div>
<p>If you need to tweak more of the details of the test accounts, there are a number of other options for the NET USER command, but you most likely will want to take a look at the more robust tools out there like csvde.</p>
<p>Thanks to Daniel Petri for this little nugget.  For a more in depth view of your options for quickly creating test users, check out his post here:</p>
<p><a href="http://www.petri.co.il/create_users_for_testing_purposes.htm" target="_blank">http://www.petri.co.il/create_users_for_testing_purposes.htm</a></p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2010/04/07/quickly-create-test-users-on-your-domain-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

