darksidemilk / FogApi

Powershell Module for the Fog API
MIT License
5 stars 0 forks source link

Add send-fogwol function #7

Closed darksidemilk closed 1 week ago

darksidemilk commented 1 year ago

per https://forums.fogproject.org/topic/16867/api-wake-on-lan/3?_=1686084315380 It would probably be a good idea to add a helper function for wake on lan tasks.

Ideally it would accept hostid or hostname or mac and just parse to the host id by searching for the host with get-foghost.