There are many situations in the practical system administration world in which you have to feed your scripts with inputs. Examples are reading a text file that has a list of users and adding them to a specific Active Directory group, or reading a CSV file that includes user attributes like phone number, title, and department, and updating these attributes in Active Directory. In this chapter, you will look at the different ways of feeding your scripts with different types of inputs.
Import-CSV
Import-CSV is the most-used ...