Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

BIOS parolasının ayarlanmış olup olmadığını kontrol etme (İngilizce)

Summary: Bu komut dosyası örneği, bir Dell istemci sisteminde BIOS düzeyinde bir parola ayarlanıp ayarlanmadığını doğrulamayı gösterir.

This article applies to   This article does not apply to 

Symptoms

Bu komut dosyası örneği, bir Dell istemci sisteminde BIOS düzeyinde bir parola ayarlanıp ayarlanmadığını doğrulamayı gösterir. Bu komut dosyası, Dell Command | Sistemde önceden OMCI olarak bilinen monitör (DCM) kuruludur. Bu komut dosyası, Dell root\dcim\sysman ad alanındaki WMI sınıfı DCIM_BiosPassword sorgular. WMI ad alanı root\dcim\sysman, DCM sisteme yüklüyse kullanılabilir.

BIOS Yönetici parolası "AdminPwd" ve BIOS Sistem parolası "SystemPwd" olarak bildirilir. 

KOMUT DOSYASI

<
# . Özet
Dell istemci sisteminde BIOS düzeyinde bir parola ayarlanıp ayarlanmadığını onaylayın.   
. Açıklama
: Bu komut dosyası, root\dcim\sysman Dell
ad alanındaki WMI sınıfı DCIM_BiosPassword sorgular. Sistemde DCM yüklüyse root\dcim\sysman
ad alanı kullanılabilir.
    BIOS Yönetici parolası "AdminPwd" ve BIOS Sistem parolası
"SystemPwd" olarak bildirilir.
 
>

#$dcm = Get-CimInstance -Namespace root -Class __Namespace | where-object Name -eq DCIM
if (!$dcm) {
Write-Output    "DCM is not board. Çıkılıyor...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword
$passwords | foreach-Object {
$output = $_. AttributeName
  
if ($_. IsSet -match "True") {
$output += ", $env:BİLGİSAYARADI" içinde ayarlanır.
       
} elseif ($_. IsSet -match "False") {
$output += " $env:BİLGİSAYARADI" içinde ayarlanmadı.
       
} else
{
}
Write-Output $output
}