[help] compare script in ps

by Feb 3, 2014

Compare-Object $(Get-Content C:UsersDesktopDeploymenta.txt) $(Get-Content C:UsersDesktopDeploymentb.txt) -includeequal

 

I have this script already. Can you help me how can iput this in an output file? and also is there a way like notepad++ plugin thet compare what lines it differ?

 

like if the first script contains:

Hello

World

 

second scripts contains

Hello

World1