1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-06-21 20:41:43 +02:00

Added test.ps1

This commit is contained in:
Markus Fleschutz 2020-05-01 09:08:56 +00:00
parent bdc93168a6
commit 81159733ef
4 changed files with 7 additions and 1 deletions

0
poweroff.ps1 Normal file → Executable file

0
reboot.ps1 Normal file → Executable file

4
test.ps1 Executable file

@ -0,0 +1,4 @@
# PowerShell test script
write-output "PowerShell Works!"
exit 0

@ -1,3 +1,5 @@
# PowerShell script
function Send-WOL function Send-WOL
{ {
<# <#
@ -50,4 +52,4 @@ foreach($item in $MyMACAddresses) {
echo "Sorry, hostname $Hostname is unknown." echo "Sorry, hostname $Hostname is unknown."
pause pause
exit 1 exit 1