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.

Check if a BIOS password is set

Summary: 이 스크립트 샘플은 Dell 클라이언트 시스템에 BIOS 수준 암호가 설정되어 있는지 확인하는 방법을 보여줍니다.

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

이 스크립트 샘플은 Dell 클라이언트 시스템에 BIOS 수준 암호가 설정되어 있는지 확인하는 방법을 보여줍니다. 이 스크립트를 사용하려면 Dell Command | 이전에 OMCI라고 알려진 모니터(DCM)가 시스템에 설치되어 있습니다. 이 스크립트는 Dell 네임스페이스 root\dcim\sysman에서 WMI 클래스 DCIM_BiosPassword 쿼리합니다. WMI 네임스페이스 root\dcim\sysman은 DCM이 시스템에 설치된 경우에 사용할 수 있습니다.

BIOS 관리자 암호는 'AdminPwd'로 보고되고 BIOS 시스템 암호는 'SystemPwd'로 보고됩니다. 

스크립트

<#
. 시놉시스
Dell 클라이언트 시스템에 BIOS 수준 암호가 설정되어 있는지 확인합니다.   
. 설명
: 이 스크립트는 Dell
네임스페이스 root\dcim\sysman에서 WMI 클래스 DCIM_BiosPassword 쿼리합니다. 네임스페이스 root\dcim\sysman은 DCM이 시스템에 설치된 경우에 사용할 수 있습니다
.
    BIOS 관리자 암호는 'AdminPwd'로 보고되고 BIOS 시스템 암호
는 'SystemPwd'로 보고됩니다.
 
#>

$dcm = Get-CimInstance -네임스페이스 루트 -클래스 __Namespace | where-객체 Name -eq DCIM
if (!$dcm) {
    Write-Output "DCM이 설치되어 있지 않습니다. 나가는 중...."
    return
}
$passwords = Get-CimInstance -Namespace root\dcim\sysman -classname dcim_biospassword
$passwords | foreach-Object {
$output = $_입니다. AttributeName
  
if ($_. IsSet -match "True") {
$output += "는 $env:COMPUTERNAME에 설정됩니다."
        }
elseif ($_. IsSet -match "False") {
$output += "가 $env:COMPUTERNAME에 설정되지 않았습니다."
        }
else
{
}
        쓰기 출력 $output

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution