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.

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

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

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

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
}         

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution