VMware vSphere

 View Only
  • 1.  Comparing Host Profiles Sibe-By-Side - Is it possible?

    Posted Jan 23, 2015 04:38 AM

    Has anyone come across the challenge of comparing host profiles?  Since there are so many potential settings within a host profile I'm wondering if there is a way to compare differences between host profiles and so far I've tried exporting host profiles and using winmerge to compare.  In doing this I noticed that it was pretty difficult to note differences as winmerge displayed the .vpf file as one line of text with no page breaks.  As a result winmerge only notes "one difference" between the  two files compared since they are presented as one continuous line of text as opposed to multiple lines.  With that said, I tried to convert the files to the .xml format (since xml files have page breaks) and try winmerge again.  The result was the same as before.  The file content was displayed as one continuous line of text instead of multiple lines.  Additionally, if this can be done via PowerCLI/Powershell please let me know.  I hope this makes sense and if it doesn't, please let me know so I can clarify.  Thanks in advance!



  • 2.  RE: Comparing Host Profiles Sibe-By-Side - Is it possible?

    Posted Jan 27, 2015 09:06 AM

    Hi,

    Can you please follow these steps top compare host profiles:

    1. Open .vpf file in notepad++

    2. Then Replace "><" occurrence with ">\n<"

    3. Then save the file as .xml

    4. Open winmerge and compare both the file. It will show you the difference (if any).

    Hope this helps.