Im looking to modify a list of Servers that are in AD. Like to be able to use a csv or txt file to pull the name from and then have it modify them based on what I need done. I can do this using a var for one machine and it will prompt me, but want to make sure I can do this for multible machines as well. I am using the Quest Software "ActiveRoles Management Shell for Active Directory x64".
I have attached a txt file of what I have so far. I think Imay need to use foreach but not sure where to put it. I am still a NOOB working with powershell so be nice to me :-).