poshprotools icon indicating copy to clipboard operation
poshprotools copied to clipboard

Export Dashboard Pages

Open mattmcnabb opened this issue 8 years ago • 3 comments

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.

mattmcnabb avatar Nov 30 '17 16:11 mattmcnabb

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.

adamdriscoll avatar Nov 30 '17 19:11 adamdriscoll

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

mattmcnabb avatar Nov 30 '17 20:11 mattmcnabb

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:[email protected]] Sent: Thursday, November 30, 2017 3:33 PM To: adamdriscoll/poshprotools [email protected] Cc: Subscribed [email protected] 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.

Cambridgeport90 avatar Nov 30 '17 20:11 Cambridgeport90