Working with Server Lists RRS feed

  • Question

  • Kinda new to the powershell thing; I am stuck as to how to accomplish what I need.  So during our server build process an admin group gets created and added to AD.  The group name follows the format of servername-admin.  I want to process this name verify that it has been added to the local Admin Group on the new server.  If I wanted to do this 1 at a time, I have figured that out.  However once I introduce a list it breaks down for me.  I can read the list but the output is not what I need.  I figured you could loop through the list to process entries and then store the results to do a if exists, then move on to the next.  Can someone give me some ideas?
    • Moved by Bill_Stewart Tuesday, July 31, 2018 3:01 PM This is not "teach me basics step-by-step" forum
    Friday, June 22, 2018 11:15 AM

All replies