Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Community Reputation

0 Neutral

My Information

  • Agent Count
  1. Viceman

    Script Noob

    Thank you so much I will try this! How did you add step 7? I don't seem to see the function for Exit Script. I do have a "Script Exit with Error" option.
  2. Viceman

    Script Noob

    Hello, I'm very new to Labtech scripting and scripting in general. I'm trying to create a script to prompt the user to reboot, option 1 being 'Reboot now', option 2 being 'Reboot in 2 hours' but I haven't had much success. I've attached an image of my current testing script but I cannot get a prompt with two different answers for the life of me. I can get Console Window to ask an "Ok" prompt but everything else fails. Also, how do I have the script end if it goes to reboot? Right now, it doesn't prompt at all (since I removed Console Window) but even with prompting it will run one reboot command then another. Thank you for any assistance you can lend. Thanks,
  • Create New...