Unregister-SystemRestart

Prevents an automatic system restart requested by commands of this script, such as Install-FileList. The command clears the script's internal flag that initiates a restart request at the end of the script. The opposite of this command is the Register-SystemRestart command, which sets the script's internal flag.

The command has no dialog and has no parameters.


Corresponds to DSM eScript command:

  • ClearRestartFlags


See also: