Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Überprüfen Sie, ob ein BIOS-Kennwort festgelegt ist.

Summary: Dieses Skriptbeispiel zeigt, wie Sie überprüfen können, ob ein Kennwort auf BIOS-Ebene auf einem Dell Client-System eingestellt ist.

This article applies to   This article does not apply to 

Symptoms

Dieses Skriptbeispiel zeigt, wie Sie überprüfen können, ob ein Kennwort auf BIOS-Ebene auf einem Dell Client-System eingestellt ist. Dieses Skript erfordert, dass Dell Command | Monitor (DCM), früher bekannt als OMCI, ist auf dem System installiert. Dieses Skript fragt die DCIM_BiosPassword der WMI-Klasse im Dell Namespace root\dcim\sysman ab. Der WMI-Namespace root\dcim\sysman ist verfügbar, wenn DCM auf dem System installiert ist.

Das BIOS-Administratorkennwort wird als "AdminPwd" und das BIOS-Systemkennwort als "SystemPwd" gemeldet. 

SKRIPT

<
# . Synopsis
Überprüfen Sie, ob ein Kennwort auf BIOS-Ebene auf einem Dell Client-System eingestellt ist.   
. Beschreibung
Dieses Skript fragt die DCIM_BiosPassword der WMI-Klasse im Dell
Namespace root\dcim\sysman ab. Der Namespace root\dcim\sysman ist verfügbar
, wenn DCM auf dem System installiert ist.
    Das BIOS-Administratorkennwort wird als "AdminPwd" und das BIOS-Systemkennwort
als "SystemPwd" gemeldet.
 
#>

$dcm = Get-CimInstance -Namespace root -Class __Namespace | where-Objekt Name -eq DCIM
if (!$dcm) {
    Write-Output "DCM ist nicht installiert. Exiting...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword
$passwords | foreach-Object {
$output = $_. AttributeName
  
if ($_. IsSet -match "True") {
$output += " wird auf $env:COMPUTERNAME" festgelegt.
       
} elseif ($_. IsSet -match "False") {
$output += " ist nicht auf $env:COMPUTERNAME festgelegt.
       
} else
{
}
Schreib-/Ausgabe-$output
}         

Article Properties
Article Number: 000146401
Article Type: Solution
Last Modified: 21 Feb 2021
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.
Article Properties
Article Number: 000146401
Article Type: Solution
Last Modified: 21 Feb 2021
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.