Customize the cutover restart message

Hi community, I have not been able to find anything about this in any of the documents so far.

We have the requirement that the text of the restart message on the cutover event should be adapted and that the message should be displayed for longer than 15 seconds.

Are there any options for this? Thanks in advance! Slight smile

  • In the Migration tool section, click on actions, on the bottom box, click on show system. View the Cutover task. Copy the code in the top box. Paste it into Powershell ISE on your local system. Find the following section:

    try
                    {
                        If ($PSDebugEnabled -eq $true -and $PSDebugDelay -gt 0) { Start-Sleep -Seconds $PSDebugDelay }
                        
                        if ($PSDebugEnabled -eq $true) { DebugLog "  Rebooting Machine in $MigrationOption_RebootDelay seconds!" }    
                        #Prompt and Delay if configured
                        if ($MigrationOption_RebootDelay -gt 0)
                        {
                            $txt = "Your computer will reboot in " + $MigrationOption_RebootDelay + " seconds.  Please save any open work."
                            msg * $txt
                            Start-Sleep -Seconds $MigrationOption_RebootDelay
                        }
    Save this as a new action called My_Cutover, and go from there.