on each machine:
- run powershell as admin
- Enable-PSRemoting
- Set-Item wsman:\localhost\client\trustedhosts *
- Restart-Service WinRM
- Get-Service winrm
- Stop-Computer -Force
- Enter-PSSession -ComputerName <ip_addr> -Credential <username>
- Exit-PSSession
- Invoke-Command -ComputerName <ip_addr> Stop-Computer -Force
- Set-ExecutionPolicy remotesigned : To run unsigned PowerShell script