9 Making LOTS of users!
This chapter covers:
- Additional Parameter options to collect credential objects and check for null values
- Building a Windows dialogue box to explore for a file using the GUI
- Using the While loop
- A new way to check for empty or null strings
- Reading data from a Comma Separated Value list (CSV)
In the last chapter, we took a big step forward in making our lives easier. We now have a script to create a user in our domain from start to finish with a single click and some simple values. This is great! But companies typically have some sort of onboarding procedure to bring batches of employees in at the same time. Thus, as an IT Professional, it’s far more common that you are creating new users in batches.
We have a script that will create a new user, but do we want to run it over and over, perhaps dozens of times? Isn’t there an easier way? There is!
This script will: