Updated the scripts

This commit is contained in:
Markus Fleschutz 2020-09-29 18:15:45 +00:00
parent 80be672828
commit d73e0dbc30
3 changed files with 2 additions and 5 deletions

0
Scripts/exe_info.ps1 Normal file → Executable file
View File

View File

@ -18,5 +18,5 @@ foreach($Row in $Table) {
$Count = $Table.Length
$StopTime = Get-Date
$TimeInterval = New-Timespan -start $StartTime -end $StopTime
write-host "OK - DNS cache trained with $Count domain names in $TimeInterval sec."
write-host "✔️ DNS cache trained with $Count domain names in $TimeInterval sec."
exit 0

View File

@ -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
}
}