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

  • I like communicating with friends solely by sending and receiving internet memes. Am I alone here? 1 day ago
  • RT @Office365_Tech: New Microsoft Virtual Academy course—Office 365 identity management! ow.ly/FH47d 1 week ago
  • How I did on Twitter this week: 17 New Followers, 2 Replies. How'd your week go? via sumall.com/myweek 1 week ago
  • RT @jshuey: Here is a little secret about phones - If you call me and don't leave a voice mail I will assume your call is NOT very importan… 2 weeks ago
  • RT @ramzy: Mike Riley has as many B1G COY awards as Jim Tressel and Urban Meyer combined, and you guys think he isn't destined for greatnes… 2 weeks ago
Blog Stats
  • 210,633 hits
Follow

Get every new post delivered to your Inbox.

Join 1,093 other followers

%d bloggers like this: