April 4, 2011
$array1 = (Get-Content C:\Servers.csv) #no header in file            
$array2 = (Get-Content C:\backup.txt) #no header in file            
$array1 | where {$array2 -notcontains $_}            

0 kommentarer: