Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.

How to confirm if Dell HAPI driver is installed on the system

Zusammenfassung: How to confirm if Dell HAPI driver is installed on the system

Dieser Artikel gilt für   Dieser Artikel gilt nicht für 

Symptome

<#  
.Synopsis  

   Check if Dell HAPI driver is installed on the local computer
.Description
    This script checks whether Dell's System Management driver called HAPI driver is installed on the system.
.Example
   .\CheckDellHAPI.ps1
#>


Function Check-DellHapi()
{
    $a = driverquery.exe /v /fo csv | ConvertFrom-CSV | Where {$_.'Module Name' -match 'Dcdbas'}
    
    if (! $a) {
        Write-Output "Dell HAPI driver is not installed on $env:COMPUTERNAME."
    }
    else {
        if (!($a.State -eq "Running"))
        {
            Write-Output "Dell HAPI driver is installed but not running on $env:COMPUTERNAME."
        }
        else
        {
             Write-Output "Dell HAPI driver is installed and running on $env:COMPUTERNAME."
        }
    }
}

Check-DellHapi

Artikeleigenschaften
Artikelnummer: 000147517
Artikeltyp: Solution
Zuletzt geändert: 21 Feb. 2021
Version:  3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.