Wake-On-LAN with PowerShell
$POWEROFFEXE = "E:\poweroff.exe"Reference:
Import-Csv PCs.csv Foreach-Object { $params = (" wol -ip " + $_.Ip + " -subnet 255.255.0.0 -mac " + $_.Mac);
[diagnostics.process]::start($POWEROFFEXE, $params)
}
Wake-On-LAN Script
Download PowerOff
No comments:
Post a Comment