Skip to content

Instantly share code, notes, and snippets.

@heinz-otto
heinz-otto / 1_StarteNAS.ps1
Last active January 24, 2018 08:30
NAS automatisch mit PC starten
# Hilfsscripte mit dot sourcing eingebunden
# Sende WOL
# und warte bis IP erreichbar, Abruch nach x Durchläufen
Set-Location $PSScriptRoot
. .\SendWOLPacket.ps1 #-macstring "H340" -verbose
. .\BalloonTipp.ps1
$x=15 # Abruch nach x Durchläufen
Send-WOL -mac '00:26:2D:00:10:91' -ip 192.168.178.255
$i=0