HI I am still a powershell newb but im trying to make a dashboard where a user can go to the homepage, enter in a server name and get back a bunch of specifics on the server.
I want to be able to have a bunch of invoke-commands run in the background then display things like the system time, memory usage, cpu usage, drive space, last 10 event log errors.
Is that possible with this tool. I created a dashboard with an input action that saves the server name as a variable called $server the i set an input action to create a new card and display the information but its not working.
Myself and many forum members would be happy to send you some samples / tips but if you could send a simplified version of your script we could whip something up really fast for you!
this is what i have so far. i may be completely on the wrong track but i want to input the server name and then bring back either different cards or different tables with the info for that server in it.
Hi @gerard thanks for posting your code and your question. Seen you been waiting a few days, so thought maybe I could chip-in and help out. I recently finished a complaints dashboard, and I wanted to provide a chart based on a user selecting a date period…So I went with the old-skool way of simply outputting these results to the current directory for that user to a text file, of the TWO selected dates, I then test if that path exists and if so the chart uses the dates from the text file. I define the $Root at the top of my dashboard script as a variable to the current directory…anyway heres my code and hopefully this will help:-