Need command line nvme status

Todd Chester 706 Reputation points
2023-12-26T03:31:23.5833333+00:00

Hi All,

I need the Windows command line NVMe SMART status equivalent of the following Linux command line command

# nvme smart-log /dev/nvme0n1
Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning			: 0
temperature				: 35 °C (308 K)
available_spare				: 100%
available_spare_threshold		: 10%
percentage_used				: 2%
endurance group critical warning summary: 0
Data Units Read				: 1174660295 (601.43 TB)
Data Units Written			: 61949306 (31.72 TB)
host_read_commands			: 3653565761
host_write_commands			: 1253216703
controller_busy_time			: 9641
power_cycles				: 2513
power_on_hours				: 5624
unsafe_shutdowns			: 83
media_errors				: 0
num_err_log_entries			: 5030
Warning Temperature Time		: 0
Critical Composite Temperature Time	: 0
Temperature Sensor 1           : 35 °C (308 K)
Temperature Sensor 2           : 42 °C (315 K)
Thermal Management T1 Trans Count	: 0
Thermal Management T2 Trans Count	: 0
Thermal Management T1 Total Time	: 0
Thermal Management T2 Total Time	: 0
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shujun Chen (Shanghai Wicresoft Co Ltd) 5 Reputation points Microsoft External Staff
    2024-01-12T02:29:56.78+00:00

    Hello, Thank you for posting in Q&A forum. Please try below Get-PhysicalDisk Windows PowerShell command and see if it helps. REF: https://learn.microsoft.com/en-us/powershell/module/storage/get-physicaldisk?view=windowsserver2022-ps To help other customers who may be facing the same issue, please don't forget to vote if the reply is helpful. Best Regards,
    Shujun

    ---If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.