10 lines
349 B
PowerShell
10 lines
349 B
PowerShell
# Script to set WKS BIOS password on HP systems.
|
|
# Technolog Networks - 2024-08-12
|
|
# iRaven
|
|
|
|
#Connect to the HP_BIOSSetting WMI class
|
|
$HPBiosSettings = Get-WmiObject -Namespace root/hp/InstrumentedBIOS -Class HP_BIOSSetting
|
|
|
|
#Check the status of the setup password
|
|
$BIOSPasswordSet = ($HPBiosSettings | Where-Object Name -eq "Setup Password").IsSet
|