Restart Computers Remotely with PowerShell
RunDLL32.exe There are two methods you can restart a system using this functionality. rundll32.exe user.exe ExitWindowsExec – Restarts the local system. rundll32.exe shell32. dll,SHExitWindowsEx 2 – Will also restart the local system.
Restart-Computer PowerShell
https://www.youtube.com/watch?v=Tjz0_IhPFrA