This command turns off the computer screen. Tested on a desktop and laptop.
powershell.exe -Command “(Add-Type ‘[DllImport(\”user32.dll\”)]public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);’ -Name a -Pas)::SendMessage(-1,0×0112,0xF170,2)”
Notes
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms704147(v=vs.85)
nircmd.exe cmdwait 1000 monitor off
tags: MrNetTek