Welcome › Forums › General PowerShell Q&A › Repair-volume Output
Does anyone happen to know the screen output of of repair-volume -scan
I know if it fails the screen output is literally "Failed".
If a disk has an issue is the output "Unhealthy" as it is with Get-Volume or Get-Disk?
Thanks for your time and knowledge!
What is the output you expect and what output you are getting when executed in you system ?
If I am able to understand your question correctly then health status property is in both Get-Volume or Get-Disk Cmdlet and as @prasoon already said, It always depend what type of output you are expecting 🙂
Get-volume -FileSystemLabel projects | fl *
OperationalStatus : OK
HealthStatus : Unhealthy
DriveType : Fixed
FileSystemType : NTFS
DedupMode : NotAvailable