So I'm compiling a gigantic HTML report from a bunch of PowerCLI commands. I want to make the thing a lot cleaner to scroll through because there can be lots of data just from one command. I've just started implementing HTML in my PS scripts but can't figure out a way to properly implement a 'show/hide' button of sorts. The tables are generated from the commands output being piped to ConvertTo-HTML without any html code from me so I was thinking of making the table caption clickable to show/hide the table. I've tried looking through the web but the javascript examples I find use table id's which I can't set, to my knowledge, since I don't actually construct the tables.