Forum Discussion
Vitor_Santos
5 years agoAdvisor
14 hours ago, Stuart Weenig said:I don't think so. You can use `help` to show all available commands and reboot isn't one of them. Wouldn't make sense to put it there either since some collectors run inside containers which don't have a concept of rebooting.
Theoretically, you can run a posh/groovy script from the debug. If you wrote a script to tell the localhost to reboot, that would do it.
Yeah, just confirmed and that works.
Passed the actual collector on the wild value of the !posh script context and it rebooted as expected
Example command -> shutdown /r /f /t 0
Related Content
- 2 months ago