From 81159733ef2561cc52c6010914c30be9e0822a89 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 1 May 2020 09:08:56 +0000 Subject: [PATCH] Added test.ps1 --- poweroff.ps1 | 0 reboot.ps1 | 0 test.ps1 | 4 ++++ wakeup.ps1 | 4 +++- 4 files changed, 7 insertions(+), 1 deletion(-) mode change 100644 => 100755 poweroff.ps1 mode change 100644 => 100755 reboot.ps1 create mode 100755 test.ps1 diff --git a/poweroff.ps1 b/poweroff.ps1 old mode 100644 new mode 100755 diff --git a/reboot.ps1 b/reboot.ps1 old mode 100644 new mode 100755 diff --git a/test.ps1 b/test.ps1 new file mode 100755 index 00000000..dd729be6 --- /dev/null +++ b/test.ps1 @@ -0,0 +1,4 @@ +# PowerShell test script + +write-output "PowerShell Works!" +exit 0 diff --git a/wakeup.ps1 b/wakeup.ps1 index ed1a70fd..f4d00ea1 100755 --- a/wakeup.ps1 +++ b/wakeup.ps1 @@ -1,3 +1,5 @@ +# PowerShell script + function Send-WOL { <# @@ -50,4 +52,4 @@ foreach($item in $MyMACAddresses) { echo "Sorry, hostname $Hostname is unknown." pause -exit 1 \ No newline at end of file +exit 1