如何使密码与dellbiosprovider一起使用?

发布于 2025-01-21 17:05:27 字数 2130 浏览 3 评论 0原文

我在powershell上有问题,而dellbiosprovider密码不起作用? 但是,当我输入数字密码时,它会毫无问题地通过。

$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[string]$pass2= 'K4P9R1'
$id = $pass2.ToUpper()
Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disbled" -Verose -Password $id
Set-Item –Path DellSmbios:\SystemConfiguration\Microphone "Disabled" -Verbose -Password $id
Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disabled" -Verbose -Password $id
exit 0

结果:

Set-Item : Incorrect password provided!
Au caractère Ligne:6 : 1
+ Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (DellSmbios:\Sys...InternalSpeaker:String) [Set-Item], InvalidOperationException
    + FullyQualifiedErrorId : SMBIOSWriteFailed,Microsoft.PowerShell.Commands.SetItemCommand

但是有了大写字母,它行不通。 你能告诉我更多吗?

通过简化代码始终相同的错误。

PS C:\Users\Administrateur\Documents> $PSDefaultParameterValues['*:Encoding'] = 'utf8'
[string]$pass2= 'K4P9R1'
Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disabled" -Verbose -Password $pass2
Set-Item –Path DellSmbios:\SystemConfiguration\Microphone "Disabled" -Verbose -Password $pass2
Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disabled" -Verbose -Password $pass2
COMMENTAIRES : Performing the operation Set-Item on target "Name: DellSmbios:\SystemConfiguration\IntegratedAudio Value: Disabled".
COMMENTAIRES : Value being set using PLDM Interface
COMMENTAIRES : Password type 'Admin' (Setup) is set.
Set-Item : Incorrect password provided!
Au caractère Ligne:3 : 1
+ Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (DellSmbios:\Sys...IntegratedAudio:String) [Set-Item], InvalidOperationException
    + FullyQualifiedErrorId : SMBIOSWriteFailed,Microsoft.PowerShell.Commands.SetItemCommand

谢谢

I have a problem on powershell with the DELLBiosProvider The password does not work?
But when I put a numeric password, it passes without problem.

$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[string]$pass2= 'K4P9R1'
$id = $pass2.ToUpper()
Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disbled" -Verose -Password $id
Set-Item –Path DellSmbios:\SystemConfiguration\Microphone "Disabled" -Verbose -Password $id
Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disabled" -Verbose -Password $id
exit 0

RESULT:

Set-Item : Incorrect password provided!
Au caractère Ligne:6 : 1
+ Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (DellSmbios:\Sys...InternalSpeaker:String) [Set-Item], InvalidOperationException
    + FullyQualifiedErrorId : SMBIOSWriteFailed,Microsoft.PowerShell.Commands.SetItemCommand

But with capital letters, it does not work.
Can you tell me more.

By simplifying the code always the same error.

PS C:\Users\Administrateur\Documents> $PSDefaultParameterValues['*:Encoding'] = 'utf8'
[string]$pass2= 'K4P9R1'
Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disabled" -Verbose -Password $pass2
Set-Item –Path DellSmbios:\SystemConfiguration\Microphone "Disabled" -Verbose -Password $pass2
Set-Item –Path DellSmbios:\SystemConfiguration\InternalSpeaker "Disabled" -Verbose -Password $pass2
COMMENTAIRES : Performing the operation Set-Item on target "Name: DellSmbios:\SystemConfiguration\IntegratedAudio Value: Disabled".
COMMENTAIRES : Value being set using PLDM Interface
COMMENTAIRES : Password type 'Admin' (Setup) is set.
Set-Item : Incorrect password provided!
Au caractère Ligne:3 : 1
+ Set-Item –Path DellSmbios:\SystemConfiguration\IntegratedAudio "Disab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (DellSmbios:\Sys...IntegratedAudio:String) [Set-Item], InvalidOperationException
    + FullyQualifiedErrorId : SMBIOSWriteFailed,Microsoft.PowerShell.Commands.SetItemCommand

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猫烠⑼条掵仅有一顆心 2025-01-28 17:05:27

我找到了密码问题的答案。正是BIOS简直就是Qwerty。

谢谢

I found the answer to my password problem. It was that the BIOS is in QWERTY all simply.

Thanks

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文