Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Controleer of er een BIOS-wachtwoord is ingesteld

Summary: Dit scriptvoorbeeld laat zien hoe u kunt controleren of er een wachtwoord op BIOS-niveau is ingesteld op een Dell clientsysteem.

This article applies to   This article does not apply to 

Symptoms

Dit scriptvoorbeeld laat zien hoe u kunt controleren of er een wachtwoord op BIOS-niveau is ingesteld op een Dell clientsysteem. Dit script vereist dat Dell Command | Monitor (DCM), voorheen bekend als OMCI, is geïnstalleerd op het systeem. Dit script voert een query uit op de WMI-klasse DCIM_BiosPassword in de Dell naamruimte root\dcim\sysman. WMI-naamruimte root\dcim\sysman is beschikbaar als DCM op het systeem is geïnstalleerd.

Het BIOS-beheerderswachtwoord wordt vermeld als 'AdminPwd' en het BIOS-systeemwachtwoord wordt vermeld als 'SystemPwd'. 

SCRIPT

<
# . Synopsis
Controleer of er een wachtwoord op BIOS-niveau is ingesteld op een Dell clientsysteem.   
. Description
Dit script voert een query uit op de WMI-klasse DCIM_BiosPassword in de Dell
naamruimte root\dcim\sysman. Namespace root\dcim\sysman is beschikbaar
als DCM op het systeem is geïnstalleerd.
    Het BIOS-beheerderswachtwoord wordt vermeld als 'AdminPwd' en het BIOS-systeemwachtwoord
wordt vermeld als 'SystemPwd'.
 
#>

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

Article Properties
Article Number: 000146401
Article Type: Solution
Last Modified: 21 Feb 2021
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.
Article Properties
Article Number: 000146401
Article Type: Solution
Last Modified: 21 Feb 2021
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.