Wake On Lan through PowerShell

This morning I was asked to write a little script to do a WOL through PowerShell. Instead of writing it myself, I found this script.

As a scriptaholic I can’t just copy-paste and be done with it… I have to make it more suitable for my customer. 🙂
So, I’ve changed/added a few things.

  • A proper parameter
  • A little (crude) error handling
  • Allowing for multiple MAC addresses as input
  • Allowing for pipeline input
  • Just a few other things to make it more understandable for myself

Have fun!

One comment

  1. […] found a very good working PowerShell snippet on Jeff Wouters’s blog here , so all the credit belongs to […]

Leave a Reply

Your email address will not be published. Required fields are marked *