adamdriscoll / poshprotools

PowerShell Pro Tools and Universal Dashboard
https://ironmansoftware.com/
104 stars 24 forks source link

Export Dashboard Pages #172

Open mattmcnabb opened 6 years ago

mattmcnabb commented 6 years ago

I think it would be great if we could export our dashboard pages as PDF or HTML documents, or even just images. This would be a great lightweight reporting tool.

adamdriscoll commented 6 years ago

Are you looking for a cmdlet to do this? Or is functionality in the UI enough? It's tricky from the command line since hte browser does all the rendering but I'm sure I could figure something out.

mattmcnabb commented 6 years ago

Well, I was thinking about the same question and didn't have a solid answer yet. I think it would be nice to support an export button in a dashboard page, but it could also be really useful to have an export option in script. This could act as a lightweight reporting toolkit.

I think maybe usage would be something like:

$Dashboard = New-UDDashboard -Content {...}
Export-UDDashboard -Dashboard $Dashboard -Format html

Alternatively, maybe it could be supported by piping from Get-UDDashboard to get around the rendering issue:

Start-UDDashboard $Dashboard
Get-UDDashboard | Export-UDDashboard -format html
Cambridgeport90 commented 6 years ago

Or you could have the exported content be able to be pulled into something else, such as an Excel spreadsheet of other tool. Reporting services, maybe?

From: Matt McNabb [mailto:notifications@github.com] Sent: Thursday, November 30, 2017 3:33 PM To: adamdriscoll/poshprotools poshprotools@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [adamdriscoll/poshprotools] Export Dashboard Pages (#172)

Well, I was thinking about the same question and didn't have a solid answer yet. I think it would be nice to support an export button in a dashboard page, but it could also be really useful to have an export option in script. This could act as a lightweight reporting toolkit.

I think maybe usage would be something like:

$Dashboard = New-UDDashboard -Content {...}

Export-UDDashboard -Dashboard $Dashboard -Format html

Alternatively, maybe it could be supported by piping from Get-UDDashboard to get around the rendering issue:

Start-UDDashboard $Dashboard

Get-UDDashboard | Export-UDDashboard -format html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/adamdriscoll/poshprotools/issues/172#issuecomment-348312419, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOXGAFnExKgOHKEmAcLhINH9V4A6BpErks5s7xDxgaJpZM4Qw2p9.