上記出力ではドライバ表示名が長いものは省略されてしまうし、検索しにくい。「driverquery /fo csv」だとCSV形式で出力されるので、扱いやすくなる。
C:\Windows\System32>driverquery /fo csv
"モジュール名","表示名","ドライバーの種類","リンク日時"
"1394ohci","1394 OHCI Compliant Host Controller","Kernel ",""
"3ware","3ware","Kernel ","2015/05/19 7:28:03"
"ACPI","Microsoft ACPI Driver","Kernel ",""
"AcpiDev","ACPI デバイス ドライバー","Kernel ",""
"acpiex","Microsoft ACPIEx Driver","Kernel ",""
"acpipagr","ACPI プロセッサ アグリゲーター ドライバー","Kernel ",""
"AcpiPmi","ACPI 電源メーター ドライバー","Kernel ",""
"acpitime","ACPI ウェイク アラーム ドライバー","Kernel ",""
"Acx01000","Acx01000","Kernel ",""
"AcxHdAudio","ACX HD Audio Driver","Kernel ",""
"ADP80XX","ADP80XX","Kernel ","2015/04/10 5:49:48"
<略>
"Wof","Windows Overlay File System Filter Driver","File System ",""
"WpdUpFltr","WPD Upper Class Filter Driver","Kernel ",""
"ws2ifsl","Winsock IFS Driver","Kernel ",""
"wtd","wtd","Kernel ",""
"WudfPf","User Mode Driver Frameworks Platform Driver","Kernel ",""
"WUDFRd","Windows Driver Foundation - User-mode Driver Framework Reflector","Kernel ",""
"xboxgip","Xbox ゲーム入力プロトコル ドライバー","Kernel ",""
"xinputhid","XINPUT HID フィルター ドライバー","Kernel ",""
C:\Windows\System32>
「driverquery /fo csv /v」で実行した場合”状態”の項目が「Running」となっているものが動作中です。(使われていないものは Stopped です)
C:\Windows\System32>driverquery /fo csv /v
"モジュール名","表示名","説明","ドライバーの種類","開始モード","状態","ステータス","停止の受理","一時停止の受理","ページ プール(バイト)","コード(バイト)","BSS(バイト)","リンク日時","パス","Init(バイト)"
"1394ohci","1394 OHCI Compliant Host Controller","1394 OHCI Compliant Host Controller","Kernel ","Manual","Stopped","OK","FALSE","FALSE","4,096","233,472","0","","C:\Windows\system32\drivers\1394ohci.sys","4,096"
"3ware","3ware","3ware","Kernel ","Manual","Stopped","OK","FALSE","FALSE","0","81,920","0","2015/05/19 7:28:03","C:\Windows\system32\drivers\3ware.sys","4,096"
"ACPI","Microsoft ACPI Driver","Microsoft ACPI Driver","Kernel ","Boot","Running","OK","TRUE","FALSE","176,128","393,216","0","","C:\Windows\system32\drivers\ACPI.sys","24,576"
"AcpiDev","ACPI デバイス ドライバー","ACPI デバイス ドライバー","Kernel ","Manual","Stopped","OK","FALSE","FALSE","8,192","12,288","0","","C:\Windows\system32\drivers\AcpiDev.sys","4,096"
"acpiex","Microsoft ACPIEx Driver","Microsoft ACPIEx Driver","Kernel ","Boot","Running","OK","TRUE","FALSE","40,960","69,632","0","","C:\Windows\system32\Drivers\acpiex.sys","4,096"
"acpipagr","ACPI プロセッサ アグリゲーター ドライバー","ACPI プロセッサ アグリゲーター ドライバー","Kernel ","Manual","Running","OK","TRUE","FALSE","4,096","8,192","0","","C:\Windows\system32\drivers\acpipagr.sys","4,096"
"AcpiPmi","ACPI 電源メーター ドライバー","ACPI 電源メーター ドライバー","Kernel ","Manual","Stopped","OK","FALSE","FALSE","8,192","8,192","0","","C:\Windows\system32\drivers\acpipmi.sys","4,096"
"acpitime","ACPI ウェイク アラーム ドライバー","ACPI ウェイク アラーム ドライバー","Kernel ","Manual","Running","OK","TRUE","FALSE","8,192","12,288","0","","C:\Windows\system32\drivers\acpitime.sys","4,096"
"Acx01000","Acx01000","Acx01000","Kernel ","Manual","Stopped","OK","FALSE","FALSE","499,712","135,168","0","","C:\Windows\system32\drivers\Acx01000.sys","4,096"
"AcxHdAudio","ACX HD Audio Driver","ACX HD Audio Driver","Kernel ","Manual","Stopped","OK","FALSE","FALSE","364,544","86,016","0","","C:\Windows\system32\drivers\AcxHdAudio.sys","4,096"
"ADP80XX","ADP80XX","ADP80XX","Kernel ","Manual","Stopped","OK","FALSE","FALSE","0","1,101,824","0","2015/04/10 5:49:48","C:\Windows\system32\drivers\ADP80XX.SYS","4,096"
<略>
"Wof","Windows Overlay File System Filter Driver","Windows Overlay File System Filter Driver","File System ","Boot","Running","OK","TRUE","FALSE","114,688","73,728","0","","C:\Windows\system32\drivers\Wof.sys","8,192"
"WpdUpFltr","WPD Upper Class Filter Driver","WPD Upper Class Filter Driver","Kernel ","Manual","Stopped","OK","FALSE","FALSE","8,192","16,384","0","","C:\Windows\system32\drivers\WpdUpFltr.sys","4,096"
"ws2ifsl","Winsock IFS Driver","Winsock IFS Driver","Kernel ","Disabled","Stopped","OK","FALSE","FALSE","12,288","8,192","0","","C:\Windows\system32\drivers\ws2ifsl.sys","4,096"
"wtd","wtd","wtd","Kernel ","Auto","Running","OK","TRUE","FALSE","28,672","28,672","0","","C:\Windows\system32\drivers\wtd.sys","4,096"
"WudfPf","User Mode Driver Frameworks Platform Driver","User Mode Driver Frameworks Platform Driver","Kernel ","Manual","Stopped","OK","FALSE","FALSE","12,288","94,208","0","","C:\Windows\system32\drivers\WudfPf.sys","4,096"
"WUDFRd","Windows Driver Foundation - User-mode Driver Framework Reflector","Windows Driver Foundation - User-mode Driver Framework Reflector","Kernel ","Manual","Running","OK","TRUE","FALSE","12,288","253,952","0","","C:\Windows\system32\drivers\WUDFRd.sys","4,096"
"xboxgip","Xbox ゲーム入力プロトコル ドライバー","Xbox ゲーム入力プロトコル ドライバー","Kernel ","Manual","Stopped","OK","FALSE","FALSE","16,384","299,008","0","","C:\Windows\system32\drivers\xboxgip.sys","4,096"
"xinputhid","XINPUT HID フィルター ドライバー","XINPUT HID フィルター ドライバー","Kernel ","Manual","Stopped","OK","FALSE","FALSE","4,096","45,056","0","","C:\Windows\system32\drivers\xinputhid.sys","4,096"
C:\Windows\System32>
これらのドライバをまとめて指定したディレクトリに出力するためには「dism /online /export-driver /destination:”出力先ディレクトリ”」を実行します。
ドライバ一覧は「Get-WindowsDriver -online -all」で取得します。ただ、こちらはWindows OS標準ドライバも含めての出力となります。(InboxがTrueのものがソレ)
PowerShellコマンドレットなので、「Get-WindowsDriver -online -all |Where-Object {$_.Inbox -eq $false }」と実行すると、Windows OS標準ドライバ以外の一覧を出力することができます。
「Export-WindowsDriver -Online -Destination 出力先ディレクトリ」ですが、ディレクトリが存在しない場合は自動作成してくれました。