Solved

What program will allow you to compare two Powershell/VB scripts and visually see where the differences are?

Posted on 2014-10-21
6
235 Views
Last Modified: 2014-10-21
I am looking for a program which will allow you to visually look at 2 scripts at once left and right, and then visually see where the differences are in the scripts.
0
Comment
Question by:100questions
6 Comments
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 40394591
I've been using an excellent file manager called Total Commander for many years:
http://www.ghisler.com/

One of its many features is the ability to compare two text files. Using the beginning of this post as an example (with an intentionally missing line, extra line, and a changed line), here's what the comparison results look like:

TC compare results
I use this feature so often that I assigned an icon to it and placed it on the Button Bar:

TC Button Bar - compare files by content
It is not free, but it is among the best 46 dollars (USD) that I've ever spent. Well, I probably spent less many years ago when I bought it (and all upgrades have been free), but that's what a personal license costs today. Also, the personal license grant is generous. Here's a quote:

"The registered version may be installed on as many computers as desired, as long as it is used by only one person at any one time (I.e. one installation at home and one at the office used by the same person). Therefore you need only one licence for a port connection between two computers. The usage by multiple people at the same time (on multiple computers) requires additional licences."

Furthermore, it is shareware, and you may download a fully functional version to see if it works for you before making a purchase.

The product does lots of other stuff, but I have limited my response to addressing just your issue. Btw, the support is fabulous. When I send an email to tech support, I always get a prompt, accurate answer. In more than a decade of using this file manager, from Windows 95 through my current 64-bit W7 and W8, it has never messed up a file.

As a disclaimer, I want to emphasize that I have no affiliation with this company and no financial interest in it whatsoever. I am simply a happy user/customer. Regards, Joe
0
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40394605
Hi

You could use Notepad++ (free)

http://notepad-plus-plus.org/

then select Plugins Compare Compare

Regards
0
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 40394617
I'm using WinMerge (Open Source) for this: http://winmerge.org/
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 40394644
One other thing. I participated in a similar question here at EE a couple of months ago where I gave the Total Commander answer, but two other experts recommended different solutions — the built-in COMP command and WinMerge:
http://www.experts-exchange.com/Software/Misc/Q_28492216.html

I haven't tried either of those, as I do all of my file comparisons with TC, but am simply passing them along for your consideration. Regards, Joe
0
 

Author Closing Comment

by:100questions
ID: 40394662
Works, thank you.
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 40394683
You're welcome. Happy to help. Regards, Joe
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now