Comparing 2 Powershell script files in visual studio using Command window



Hello folks,



Scenario-Need to compare 2 ps files in Visual Studio using Command window.


Sol- As you all know, comparing 2 ps files is always a hard thing to do. I have a solution to make life easy for you.


Step1:

We will be using a Command

Tools.DiffFiles "source path" "destination path"


Step2:
Dat's it. We are good to go. U get a popup window comparing two ps files.



Happy Coding!!!!!

Comments