Hi guys,
The following script works perfectly on the older HP business pro machines such as HP 7900, 8100, 8300 desktops.
$Bios = Get-WmiObject -class HP_BIOSSettingInterface -Namespace "root\HP\InstrumentedBIOS" -ComputerName "xxx"
$Bios.SetBIOSSetting('Setup Password', '<utf-16/>test', '<utf-16/> ')
However, the script is unsuccessful with the newer machines such as HP Prodesk 600 G1, G2, G3, here is the output from the script.
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Return : 32768 (Failure)
PSComputerName :
So, kindly help me on this matter.
Faraz