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.

Check if a BIOS password is set

Resumen: This script sample demonstrates how to confirm if a BIOS level password is set on a Dell client system.

Este artículo se aplica a   Este artículo no se aplica a 

Síntomas

This script sample demonstrates how to confirm if a BIOS level password is set on a Dell client system. This script requires that Dell Command | Monitor (DCM) previously known as OMCI is installed on the system.This script queries the WMI class DCIM_BiosPassword in the Dell namespace root\dcim\sysman. WMI namespace root\dcim\sysman is available if DCM is installed on the system.

BIOS Administrator password is reported as 'AdminPwd' and BIOS System password is reported as "SystemPwd'. 

SCRIPT

<#  
.Synopsis  
   Confirm if a BIOS level password is set on a Dell client system.   
.Description
    This script queries the WMI class DCIM_BiosPassword in the Dell
    namespace root\dcim\sysman. Namespace root\dcim\sysman is available
    if DCM is installed on the system.
    BIOS Admin password is reported as 'AdminPwd' and BIOS System password
    is reported as "SystemPwd'.
 
#>

$dcm = Get-CimInstance -Namespace root -Class __Namespace | where-object Name -eq DCIM
if (!$dcm) {
    Write-Output "DCM is not installed. Exiting...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword 
$passwords | foreach-Object {
        $output = $_.AttributeName
  
        if ($_.IsSet -match "True") {
            $output += " is set on $env:COMPUTERNAME."
        }
        elseif ($_.IsSet -match "False") {
            $output += " is not set on $env:COMPUTERNAME."
        }
        else
        {
        }
        Write-Output $output
      } 

Propiedades del artículo
Número del artículo: 000146401
Tipo de artículo: Solution
Última modificación: 21 feb 2021
Versión:  3
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.
Propiedades del artículo
Número del artículo: 000146401
Tipo de artículo: Solution
Última modificación: 21 feb 2021
Versión:  3
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.