Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • 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 may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


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


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution