Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits

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

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

Cet article concerne   Cet article ne concerne pas 

Symptômes

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
}