psexec \\machinename -e -u DOMAIN-NAME\username shutdown /s /f /t 30
use /r to restart.
psshutdown \\workstation64 -s
use -r to restart
Active Directory, AD Tools, Powershell, FIM 2010, MIM 2016, Lync 2013, Skype for Bussines, Identity Management
psexec \\machinename -e -u DOMAIN-NAME\username shutdown /s /f /t 30
use /r to restart.
psshutdown \\workstation64 -s
use -r to restart