Omitir para ir al contenido principal
  • Hacer pedidos rápida y fácilmente
  • Ver pedidos y realizar seguimiento al estado del envío
  • Cree y acceda a una lista de sus productos
  • Administre sus sitios, productos y contactos de nivel de producto de Dell EMC con Administración de la empresa.

Check if a BIOS password is set

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

Es posible que este artículo se traduzca automáticamente. Si tiene comentarios sobre su calidad, háganoslo saber mediante el formulario en la parte inferior de esta página.

Contenido del artículo


Síntomas

이 스크립트 샘플은 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

Propiedades del artículo


Fecha de la última publicación

21 feb 2021

Versión

3

Tipo de artículo

Solution