No restart prompt

Hi All, I’m trying to use “show-installationRestartMessage -NoCountdown” and get no message, nothing. If however I user “show-installationRestartMessage” I get the prompt to reboot with a 1 minute timer.

Not sure if something corrupt with my tools or I’m missing something.

Any pointers would be much appreciated.

Mike

Hi Mike,

what your end goal in using Show-InstallationRestartPrompt function?
Reboot the computer without a popup?

Hi, yeah just a message asking the user to reboot but not forced. I tried the display-prompt and that works but just doesnt have the nice gui like the other menus.

Thanks
Mike

Alas, the Show-InstallationRestartPrompt function is only for imposing non-stoppable reboot prompts.

This is what I use to ASK a user to reboot.

#NOTE: Show-Installation* only works when running interactively|
Write-log Show popup to REMIND user to reboot|
Show-InstallationPrompt -Message "Please reboot to complete installation." -ButtonRightText 'OK' -Icon Information -NoWait|

Hi, I’ll use show-installation prompt ,that looks good. Thanks!

Just checking out the help that’s built into the PSADT it does look like the Show-installationRestartPrompt -nocountdown suggest it should just prompt the user with info and only provide an OK button. Ah well… that’s fine. Thanks for the suggestion that works for me :slight_smile: .

Great Tool BTW! Any future releases planned?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.