My name is michael and I am looking for a way to add AD authentication before my script is run. I am working with OS versions Windows Server 2003 & 2008, so I need this to be able to work across powershell v2 and v3. In theory I would like for powershell to check their credentials against our AD environment and if they exist and are true, run the rest of script.
Any help would be greatly appreciated, I just signed up for this website yesterday so forgive me if I did not use the search feature (or just completely oblivious to where it is in the forum). : )