Scripting Wife Comments on Beginner Event 4
Summary: The Scripting Wife reveals her impressions of 2013 Scripting Games Beginner Event 4.
When I first read this, I thought, “Dude, this is going to take an entire script.” But as I began to read the Help information for the Get-Random cmdlet, it dawned on me that I could do this in a single line of code. It is really cool. I also used the cmdlets from the Active Directory module from the RSAT tools. In fact, if you want to brush up on that a bit, you may want to read my blog post, Use the AD DS Module to Find Computers with PowerShell. Although it is about computers, the process is the same with users. When I figured out how to get the random users, the rest was pretty simple. I used the AD DS module, and I used the cmdlet I found last week when creating an HTML report. And that is all there is to it. Have fun!