I have a mission for anyone who thinks they can do it...
I have two Excel spreadsheets. Each spreadsheet has almost the same data. See below:
XLS01 SERVER NAME| DOMAIN NAME | LOCAL ADMIN
-------------------------------------------------------------
MSServer1 | Local User | Administrator
-------------------------------------------------------------
MSServer1 | Domain1 | Domain Admins
-------------------------------------------------------------
MSServer1 | Domain2 | Domain Admins
-------------------------------------------------------------
MSServer02 | Local User | Administrator
-------------------------------------------------------------
MSServer02 | Domain1 | Domain Admins
XLS02 SERVER NAME| DOMAIN NAME | LOCAL ADMIN
-------------------------------------------------------------
MSServer1 | Local User | Administrator
-------------------------------------------------------------
MSServer1 | Domain1 | Domain Admins
-------------------------------------------------------------
MSServer1 | Domain2 | Domain Admins
-------------------------------------------------------------
MSServer02 | Local User | Administrator
-------------------------------------------------------------
MSServer02 | Domain1 | Domain Admins
-------------------------------------------------------------
MSServer02 | Domain1 | Backup Operators
NOW COMES THE FUN PART..
I want to build a PS script that will see the differences (see last entry in XLS02) and create a NEW XLS file that shows me the Computer name, the difference, and whether it was added or removed from the control file (XLS01).
Is anyone up to the challenge? Can anyone even help me figure this one out??? Someone's gotta have a clue to get this to work.
Thank you in advance.
Matthew Jaramillo