Start-Sleep -Seconds 1 # Adjust the delay as needed Restart-Computer -Force