Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.

Verifica dell'impostazione di una password del BIOS

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

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

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
}         

Artikeleigenschaften
Artikelnummer: 000146401
Artikeltyp: Solution
Zuletzt geändert: 21 Feb. 2021
Version:  3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.