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
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

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 a peut-être été traduit automatiquement. Si vous avez des commentaires concernant sa qualité, veuillez nous en informer en utilisant le formulaire au bas de cette page.

Contenu de l’article


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
}         

Propriétés de l’article


Dernière date de publication

21 Feb 2021

Version

3

Type d’article

Solution