4 comments on “Creating Random Demo Users in Active Directory using PowerShell
  1. This is a handly little script. I think I’ll use this in my lab. Thanks for sharing Ryan.

    I am wondering a couple of things. Is there a maximum number of users this can create? What happens if there is a duplicate first and last name combination from the Get-Random?

    • Ryan Dennis says:

      Thanks Bob!
      Currently I’ve got no logic or error-handling in place to limit the number of users, and I’m also just ignoring any errors which could occur from trying to create duplicate entries.

      I’m actually working on that, and once I get it right I will probably update this post.

      Thanks!
      Ryan

  2. [...] Dennis has created a very handy script for creating random users. Share this:EmailDiggLike this:LikeBe the first to like this post. PowerShell, sharepoint Active [...]

  3. [...] post originally appeared here, on the SharePointRyan blog .gplus #___plusone_0, .gplus #___plusone_1,.gplus #___plusone_2, [...]

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog Stats
  • 196,717 hits
Follow

Get every new post delivered to your Inbox.

Join 1,091 other followers

%d bloggers like this: