Hi, I have been using PowerShell for the last three years mainly to automate reporting tasks. Basically I have scheduled PS scripts to update SQL data, extract the data into a CSV file or excel file depending on the report, distributing the reports via email to users and then doing the same if there are any further changes for the day. I came across UD a few days ago and thought of creating a Report Dashboard. This dashboard should display all the available reports (based on sql table), last updated date time (based on another table), allow the user to view the report in the dashboard ( do not prefer grid output) and download the report in certain formats. For example to start with csv, however I could add more like xls, pdf, etc.
My issue is is that I cannot find any documentation or examples that explain how to extract the data from a table using a query and display it. I tried to use a variable (system.data.dataset) with a simple grid following another example without any success.
Hello @tesh and a big welcome to the UD forums. I mainly use UD to work with SQL and I got to say the results are amazing with what you can do. So to try and share some of my own personal experiance I have had with UD I developed this blog site and wrote a specific blog on SQL here:-
Thanks! I cant believe I totally missed this. To be fair I have to pipe in a lot of cases anyway as I often do data transformation and add links etc when displaying in grids and such. But this will come in handy.
Glad to hear you now have a working solution @tesh I forgot to mention I chucked a whole SQL driven dashboard here:- https://github.com/psDevUK/psUniversalDashboard
This shows various things you can do with SQL and dashboards, and may give you a few new things to think about like synchronising the data via a dashboard. Anyways glad you got a working solution and hopefully that github repo will help you out some more. Peace