Ü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.

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

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
}         

Proprietăți articol
Article Number: 000146401
Article Type: Solution
Ultima modificare: 21 feb. 2021
Version:  3
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.