Pular para o conteúdo principal
  • Faça pedidos de forma rápida e simples
  • Visualize os pedidos e acompanhe o status de envio
  • Crie e acesse uma lista dos seus produtos
  • Gerencie seus sites, produtos e contatos de nível de produto da Dell EMC usando o Company Administration.

Número do artigo: 000147517


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

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

Conteúdo do artigo


Sintomas

<#  
.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

Propriedades do artigo


Data da última publicação

21 fev. 2021

Versão

3

Tipo de artigo

Solution