Skip to content

wol_status_check.ps1

Corey Watson edited this page Dec 19, 2025 · 1 revision

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

  1. Detects device manufacturer (Dell, HP, or Lenovo)
  2. Installs required PowerShell modules if needed
  3. Queries BIOS for WOL settings
  4. Checks OS-level NIC WOL configuration
  5. 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

Clone this wiki locally