Post action in Task sequence

If you want to do stuff after you task sequence is finished, then you can use the variable “SMSTSPostAction”. Create a “Set Task Sequence Variable” step in the beginning of the Task sequence. In this example the computer will reboot at the end.

Name: Give it a name. Ex “Set SMSTSPostAction”
Task Sequence Variable: SMSTSPostAction
Value: shutdown /r /t 30