MSStorageDriver FailurePredictData
WMIでS.M.A.R.T.情報にアクセスするためのクラス。 Root\WMI名前空間内にある。
How to check SMART Failure Predict Status of Drives in Windows 10
https://www.thewindowsclub.com/check-smart-failure-predict-status-of-drives-in-windows-10
WMIのコマンドラインツールであるwmicコマンドを使う方法
wmic /namespace:\\root\wmi path MSStorageDriver_FailurePredictStatus
https://www.thewindowsclub.com/wp-content/uploads/2020/10/Check-SMART-Failure-Predict-Status-of-Drives-in-Command-Prompt.png
PowerShellを使う方法
Get-WmiObject -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
https://www.thewindowsclub.com/wp-content/uploads/2020/10/Check-SMART-Failure-Predict-Status-of-Drives-in-PowerShell.png
パフォーマンスモニタを使う方法
https://www.thewindowsclub.com/wp-content/uploads/2020/10/Check-SMART-Failure-Predict-Status-of-Drives-in-Performance-Monitor.png
Visual Basicを使うこともできる。
HDD の S.M.A.R.T. 情報を取得する: MSStorageDriver_FailurePredictData - WMI Sample (VBS)
http://www.wmifun.net/sample/msstoragedriver_failurepredictdata.html
code:smart.vb
Set oLocator = WScript.CreateObject("WbemScripting.SWbemLocator")
Set oService = oLocator.ConnectServer(, "Root\WMI")
Set oClassSet = oService.ExecQuery("Select * From MSStorageDriver_FailurePredictData")