2016-05-09 8 views

答えて

0

/xパラメータを使用すると、dxdiagをxmlファイルに出力できます。これは、powershellから簡単に解析できます。このような基本的にはちょうど何か:

# Drop output in temp dir 
$logFile = $env:TEMP + "\dxDiagLog.xml" 

# Piping to Out-Null forces it to wait for dxdiag to complete before continuing. Otherwise 
# it tries to load the file before it actuallygets written 
dxdiag.exe /whql:off /dontskip /x $logFile | Out-Null 
[xml]$dxDiagLog = Get-Content $logFile 
$dxDiagLog.DxDiag.DirectSound.SoundDevices.SoundDevice | ft Description, DriverProvider 

私のマシン上での出力のためにこれをダンプします。

Description        DriverProvider    
-----------        --------------    
Speakers (Realtek High Definition Audio) Realtek Semiconductor Corp. 
Polycom CX700 (Polycom CX700)   Microsoft 
関連する問題