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.

Verifica dell'impostazione di una password del BIOS

Summary: Questo esempio di script illustra come verificare se su un sistema client Dell è impostata una password a livello di BIOS.

This article applies to   This article does not apply to 

Symptoms

Questo esempio di script illustra come verificare se su un sistema client Dell è impostata una password a livello di BIOS. Questo script richiede che Dell Command | Il monitor (DCM), precedentemente noto come OMCI, è installato sul sistema. Questo script esegue una query sul DCIM_BiosPassword della classe WMI nel namespace Dell root\dcim\sysman. Il namespace WMI root\dcim\sysman è disponibile se DCM è installato nel sistema.

La password dell'amministratore del BIOS è "AdminPwd", mentre la password del sistema del BIOS è "SystemPwd". 

COPIONE

<
# . Sinossi:
Verificare se su un sistema client Dell è impostata una password a livello di BIOS.   
. Descrizione
Questo script esegue una query sul DCIM_BiosPassword della classe WMI nel namespace Dell
root\dcim\sysman. Namespace root\dcim\sysman è disponibile
se DCM è installato nel sistema.
    La password dell'amministratore del BIOS è "AdminPwd", mentre la password
del sistema del BIOS è "SystemPwd".
 
#>

$dcm = Get-CimInstance -Namespace root -Class __Namespace | dove-oggetto Name -eq DCIM
if (!$dcm) {
    Write-Output "DCM non è installato. Uscita...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword
$passwords | foreach-Object {
$output = $_. NomeAttributo,
  
if ($_. IsSet -match "True") {
$output += " è impostato su $env:COMPUTERNAME."
       
} elseif ($_. IsSet -match "False") {
$output += " non è impostato su $env:COMPUTERNAME."
       
} else
{
}
Write-Output $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.