Omitir para ir al contenido principal
  • Hacer pedidos rápida y fácilmente
  • Ver pedidos y realizar seguimiento al estado del envío
  • Cree y acceda a una lista de sus productos
  • Administre sus sitios, productos y contactos de nivel de producto de Dell EMC con Administración de la empresa.

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

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

Es posible que este artículo se traduzca automáticamente. Si tiene comentarios sobre su calidad, háganoslo saber mediante el formulario en la parte inferior de esta página.

Contenido del artículo


Síntomas

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
}         

Propiedades del artículo


Fecha de la última publicación

21 feb 2021

Versión

3

Tipo de artículo

Solution