Windows WMI 更改 MotherBoard SerialNumber 的值 [英] Windows WMI change the value of MotherBoard SerialNumber
本文介绍了Windows WMI 更改 MotherBoard SerialNumber 的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用 WMI 更改主板 serialNumber
值?
Is it possible to change the Motherboard serialNumber
value with WMI?
$SN = Get-WmiObject Win32_BaseBoard
$SN.SerialNumber="123456"
$SN.put()
$SN.SerialNumber
我得到的错误是:
Exception calling "Put" with "0" argument(s): "Provider is not capable of the attempted operation "
推荐答案
总之没有.我不希望这能奏效.Win32_BaseBoard
的属性是只读的,根据 MSDN
In short no. I wouldnt expect that to work. The properties of Win32_BaseBoard
are read-only as per MSDN
序列号
数据类型:字符串
访问类型:只读
假设您的 BIOS 支持它,在大多数情况下,您必须在那里更改它.这就是我为一些旧的戴尔主板所做的,以控制我们的库存.
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.
这篇关于Windows WMI 更改 MotherBoard SerialNumber 的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文