Forum Discussion
- Vitor_SantosAdvisor14 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 expectedExample command -> shutdown /r /f /t 0
- Anonymous
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.
Related Content
- 5 months ago