VMware Cloud Community
AGFlora
Enthusiast
Enthusiast

Powershell code to create a hyperlink/Table of contents in an html report file

Hi

Does anyone know the powershell code to create a hyperlink/Table of contents in an html file. I have a humongus report file and having a TOC would make it much easier to navigate.

Thanks

Tony

0 Kudos
2 Replies
alanrenouf
VMware Employee
VMware Employee

Depends how you are creating the html file, you can simply add the html code to a string and write it to the file, thats the way I do it with my vCheck report.

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
AGFlora
Enthusiast
Enthusiast

Thanks Alan...I figured it out after looking at your vCheck report script.

0 Kudos