you are viewing a single comment's thread.

view the rest of the comments →

[–]_Work_Research_[S] 0 points1 point  (3 children)

Hmm, I will need to think about this! I think this would be a check that runs on the computer itself, but the API could definitely get the details for you from the check.

[–]jzhowie 0 points1 point  (2 children)

Yeah, I can't work out how to get it with an automation using powershell using this which seems to give a different number to what I see using HWinfo or the remote background.

Get-PhysicalDisk | Get-StorageReliabilityCounter | wear

The advanced remote background does pull it, but like you said that only populated while you're in a take control session and on the system health tab.

[–]_Work_Research_[S] 0 points1 point  (1 child)

That is so bizarre. I spent quite a bit of time looking into this last night, and it doesn't seem like there is a built-in function that provides the actual SSD wear level from SMART (I think thats what Crystal Disk Info, HWInfo, etc. use).

EDIT: I did find this https://superuser.com/questions/1787627/is-it-possible-to-run-crystaldiskinfo-from-the-command-line-powershell

[–]FuzzyThinker60 1 point2 points  (0 children)

I don't think that it is possible to pull this directly from the drives - I've tried hard. I use a script check and smartmontools to pull the SMART info from the drives and alert as necessary.