How to use search option in Powershell HTML output


I want to convert powershell output into HTML format with the search option.
I have HTML with jscript/css which i am trying to add into HTML style in my Powershell code.

Removed HTML Code and Customer Data to get it out of the spam filter - WA

function myFunction() {
var input, filter, table, tr, td, i;
input = document.getElementById(“myInput”);
filter = input.value.toUpperCase();
table = document.getElementById(“myTable”);
tr = table.getElementsByTagName(“tr”);
for (i = 0; i -1) {
tr[i].style.display = “”;
} else {
tr[i].style.display = “none”;

I want this html format table to get output of command

Hey there. I removed your HTML code because it pulled your post into the spam filter. Can you post your HTML in a GIST or .md on Github?