Detect HDD or SSD plus SMART Health
I am getting issues with the script, even after the modifications, and it is not reporting correctly for me. Still getting the error in step 34 (Line51) and it states that my SSD is an HHD with the YP error.
This command with the added encoding, fails every time. Remove the encoding and it works but delivers that yb thing.
(Get-Disk 1 | Get-StorageReliabilityCounter).PowerOnHours >> #vAgentConfiguration.agentTempDir#\PowerOnHours.txt -Encoding ASCII
Any other ideas to try?0
Join The Community