{"id":26,"date":"2009-11-22T15:58:24","date_gmt":"2009-11-22T20:58:24","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=26"},"modified":"2009-11-22T15:58:58","modified_gmt":"2009-11-22T20:58:58","slug":"script-to-create-10000-test-users","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/scripting\/script-to-create-10000-test-users\/","title":{"rendered":"Script to create 10,000 test users"},"content":{"rendered":"<p><span style=\"font-family: 'Trebuchet MS', Verdana, Geneva, Arial, Helvetica, sans-serif; line-height: normal;\">I thought I would share the script I made to create 10,000 test users in an NT 4.0 domain for my test lab. \u00a0I should note a couple of things:<br \/>\n<\/span><\/p>\n<ul>\n<li>When I first ran this script, my domain only had the default &#8216;guest&#8217; and &#8216;administrator&#8217; accounts.<\/li>\n<li>I used Visual Basic Script (VBS) which does not require pre-defining of variables or variable types (adding &#8216;option explicit&#8217; requirements would case the script to fail)<\/li>\n<li>The script was ran from a command line as &#8216;cscript.exe CreateUsersWinNtObj.vbs&#8217;<\/li>\n<li>No checking was performed to verify that the user ID was unique (in a &#8216;real&#8217; domain this could cause a problem.<\/li>\n<li>This script was not tested with Active Directory domains. \u00a0However, the code would most likely work &#8212; creating all 10,000 users in the default &#8220;cn=users&#8221; container.<\/li>\n<\/ul>\n<p>If you have any questions please let me know.<\/p>\n<p><a href=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2009\/11\/Create10kTestUsers.zip\">Create10kTestUsers<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought I would share the script I made to create 10,000 test users in an NT 4.0 domain for my test lab. \u00a0I should note a couple of things: When I first ran this script, my domain only had &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/script-to-create-10000-test-users\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-scripting"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":3,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}