mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-14 06:48:46 +02:00
Updated the scripts
This commit is contained in:
@ -48,10 +48,7 @@ foreach($item in $MyMACAddresses) {
|
||||
$thisMAC=$array[1]
|
||||
if ($thisHost -like $Hostname) {
|
||||
Send-WOL $thisMAC
|
||||
echo ""
|
||||
echo "OK - host $thisHost waked up (MAC $thisMAC)."
|
||||
echo ""
|
||||
pause
|
||||
write-output "✔️ host $thisHost waked up (MAC $thisMAC)"
|
||||
exit 0
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user