diff --git a/Scripts/exe_info.ps1 b/Scripts/exe_info.ps1 old mode 100644 new mode 100755 diff --git a/Scripts/train_dns_cache.ps1 b/Scripts/train_dns_cache.ps1 index 9c6ff23d..dcb4781d 100755 --- a/Scripts/train_dns_cache.ps1 +++ b/Scripts/train_dns_cache.ps1 @@ -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 diff --git a/Scripts/wakeup.ps1 b/Scripts/wakeup.ps1 index c6b04259..d12897ff 100755 --- a/Scripts/wakeup.ps1 +++ b/Scripts/wakeup.ps1 @@ -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 } }