wol_status_check.ps1 - limehawk/rmm-scripts GitHub Wiki
wol_status_check.ps1
Checks the Wake-on-LAN (WOL) status at both BIOS and OS levels.
Overview
This script supports Dell, HP, and Lenovo devices by using manufacturer-specific PowerShell modules to query BIOS settings and verify Wake-on-LAN configuration at both the BIOS and operating system levels.
Purpose
Checks the Wake-on-LAN (WOL) status at both BIOS and OS levels. Supports Dell, HP, and Lenovo devices by using manufacturer-specific PowerShell modules to query BIOS settings.
Prerequisites
- Windows 10/11 or Windows Server
- Administrator privileges
- Internet access (for module installation)
- Supported manufacturer: Dell, HP, or Lenovo
Configuration
Required Inputs
None
Behavior
- Detects device manufacturer (Dell, HP, or Lenovo)
- Installs required PowerShell modules if needed
- Queries BIOS for WOL settings
- Checks OS-level NIC WOL configuration
- Reports combined status
Security Notes
- No secrets in logs
- Requires elevated privileges
- May install PowerShell modules from PSGallery
Exit Codes
- 0 = WOL enabled correctly (or unsupported manufacturer)
- 1 = WOL not properly configured
Example Output
[ MANUFACTURER DETECTION ]
--------------------------------------------------------------
Manufacturer : Dell Inc.
[ BIOS WOL STATUS ]
--------------------------------------------------------------
Module : DellBIOSProvider
BIOS WOL Setting : LanOnly
[ OS WOL STATUS ]
--------------------------------------------------------------
NIC WOL Enabled : Yes (All NICs)
[ FINAL STATUS ]
--------------------------------------------------------------
BIOS WOL : Healthy
OS WOL : Healthy
SCRIPT SUCCEEDED
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Version History
- 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps
Links
- View Script Source
- Scripts - Back to script index