Initial Commit
This commit is contained in:
9
Set-HPBIOSPassword.ps1
Normal file
9
Set-HPBIOSPassword.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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
|
Reference in New Issue
Block a user