メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

文書番号: 000147517


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

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

文書の内容


現象

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

文書のプロパティ


最後に公開された日付

21 2月 2021

バージョン

3

文書の種類

Solution