メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

Check if a BIOS password is set

概要: This script sample demonstrates how to confirm if a BIOS level password is set on a Dell client system.

この記事は自動翻訳されたものである可能性があります。品質に関するフィードバックがある場合は、このページの下部にあるフォームを使用してお知らせください。

文書の内容


現象

This script sample demonstrates how to confirm if a BIOS level password is set on a Dell client system. This script requires that Dell Command | Monitor (DCM) previously known as OMCI is installed on the system.This script queries the WMI class DCIM_BiosPassword in the Dell namespace root\dcim\sysman. WMI namespace root\dcim\sysman is available if DCM is installed on the system.

BIOS Administrator password is reported as 'AdminPwd' and BIOS System password is reported as "SystemPwd'. 

SCRIPT

<#  
.Synopsis  
   Confirm if a BIOS level password is set on a Dell client system.   
.Description
    This script queries the WMI class DCIM_BiosPassword in the Dell
    namespace root\dcim\sysman. Namespace root\dcim\sysman is available
    if DCM is installed on the system.
    BIOS Admin password is reported as 'AdminPwd' and BIOS System password
    is reported as "SystemPwd'.
 
#>

$dcm = Get-CimInstance -Namespace root -Class __Namespace | where-object Name -eq DCIM
if (!$dcm) {
    Write-Output "DCM is not installed. Exiting...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword 
$passwords | foreach-Object {
        $output = $_.AttributeName
  
        if ($_.IsSet -match "True") {
            $output += " is set on $env:COMPUTERNAME."
        }
        elseif ($_.IsSet -match "False") {
            $output += " is not set on $env:COMPUTERNAME."
        }
        else
        {
        }
        Write-Output $output
      } 

文書のプロパティ


最後に公開された日付

21 2月 2021

バージョン

3

文書の種類

Solution