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

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

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

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à dell'articolo
Numero articolo: 000146401
Tipo di articolo: Solution
Ultima modifica: 21 feb 2021
Versione:  3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.