Compare two excel files - Move Cluster

Hi Guys!

I need a help or guidance to create this script.

I need to compare two excel files. This excel files contains clusters groups ( before and after).

If the new excel file is different from the old, i need to move the resources like the old one.

Any suggestions?


This is my start script to collect the initial status from cluster group and the owner.

Import-Module failoverclusters
$clusters = Get-Content C:\Users\f36244b\Desktop\Clusters\lista.txt

foreach($cluster in $clusters)
$file = $cluster + ".txt"
Get-ClusterGroup -Cluster $cluster | Tee-Object C:\users\f36244b\Desktop\clusters\$file