PSWakeOnLAN.psm1
# # # PSWakeOnLAN - Manage Wake On LAN # # $ErrorActionPreference = 'Stop' # Get all the scripts $ScriptsPath = Get-ChildItem -Path $PSScriptRoot\Scripts\*.ps1 # Dot-source the scripts ForEach ($Script In $ScriptsPath) { . $Script.FullName } |