Windows WMI change the value of MotherBoard SerialNumber

邮差的信 提交于 2021-01-28 12:42:56

问题


Is it possible to change the Motherboard serialNumber value with WMI?

$SN = Get-WmiObject Win32_BaseBoard
$SN.SerialNumber="123456"
$SN.put()
$SN.SerialNumber

The error I got was:

Exception calling "Put" with "0" argument(s): "Provider is not capable of the attempted operation "

回答1:


In short no. I wouldnt expect that to work. The properties of Win32_BaseBoard are read-only as per MSDN

SerialNumber

Data type: string

Access type: Read-only

Assuming your BIOS supports it, in most cases, you would have to change it there. That's what i did for some old dells boards to keep our inventory in check.



来源:https://stackoverflow.com/questions/26678153/windows-wmi-change-the-value-of-motherboard-serialnumber

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!