Datatables with powershell

Datatables with powershell

goldygoldy Posts: 20Questions: 11Answers: 0

So, i'm thoroughly intrigued to get powershell working with datatables.. I'm not sure if it's been done before, but i'm just curious to try

Basically, I am running some powershell cmds and piping them to a convert-html cmdlet and then I can use a CSS for formatting.

All well in good, but why can't I use the table in powershell and use datatables to sort it.. That would be awesome if i can figure it out

I'm dumping the output html file to an apache web server

Here is my header info so far
$HTMLHeader = @"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet" type="text/css" media="all" href="DataTables-1.10.0/media/css/jquery.dataTables.css" />
<title>Global Snapvault Lag</title>

All well and good, but i can't figure how to to execute the js to call the datatables...

I know this one might be out there for some, but i view this as an extreme challenge for me and any guidance into getting this working would be sweet.

This discussion has been closed.