cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AM13337
Engaged Sweeper III
I have a number of powershell cmdlets that i would like to run as a dashboard is it possible to add this functionality?
4 REPLIES 4
AM13337
Engaged Sweeper III
Ok so i'm thoroughly confused, has anybody been able to create a dashboard with a powershell cmdlet?

I just need an example of how to do this.
Esben_D
Lansweeper Employee
Lansweeper Employee
You can create custom widgets, however these traditionally use data from the database. If you're capable enough to make this work with powershell, that would be awesome. Personally I've not tried it yet.

You can find some documentation about it here: https://www.lansweeper.com/knowledgebase/how-to-create-custom-widgets/
AM13337
Engaged Sweeper III
This is too bad, as i would love to be able to create my own custom dashboard widgets or reports using powershell instead of sql.

Esben_D
Lansweeper Employee
Lansweeper Employee
Unless you want to make it complex, no.

You would either have to run the script as a deployment or an asset action. Both of which do not write data to the database, meaning you can't report on the result.
To report on it you would have to run it and somehow write the result to the database yourself.