- Download: https://docs.microsoft.com/en-gb/sysinternals/downloads/psshutdown
- Usage: https://ss64.com/nt/psshutdown.html
psshutdown.exe \\computer1 -k
'computer1','computer2' | Test-NetConnection | ? PingSucceeded | Select -ExpandProperty ComputerName | Out-File servers.txt
psshutdown.exe @C:\Users\adm.abtis\Downloads\PSTools\servers.txt -k- File should have UTF-8 encoding. (No BOM)