richlionel
asked on
Powershell to compare two files
Hi
I have an excel file with two columns.
Column1 has a list of assets that we sent to a storage company.
Column2 lists the assets that they are returning to us.
I need to ensure that:
i. There is nothing from Column1 that is missing in Column2
ii. There is nothing extra in Column2 that is not in Column1
So, basically, I need to compare the two columns.
Is there a straightforward method to do this via Powershell?
I have an excel file with two columns.
Column1 has a list of assets that we sent to a storage company.
Column2 lists the assets that they are returning to us.
I need to ensure that:
i. There is nothing from Column1 that is missing in Column2
ii. There is nothing extra in Column2 that is not in Column1
So, basically, I need to compare the two columns.
Is there a straightforward method to do this via Powershell?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If the two columns should contain the exact same data when all is said and done, why not just use conditional formatting to colorize the cells in column 1 which do not exist anywhere in column 2?