Repair-volume Output

Welcome Forums General PowerShell Q&A Repair-volume Output

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
1 week, 3 days ago.

  • Author
    Posts
  • #175543

    Participant
    Topics: 1
    Replies: 0
    Points: -4
    Rank: Member

    Hello

    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!

  • #175630

    Senior Moderator
    Topics: 8
    Replies: 1041
    Points: 3,439
    Helping Hand
    Rank: Community Hero

    What is the output you expect and what output you are getting when executed in you system ?

  • #176059

    Participant
    Topics: 0
    Replies: 44
    Points: 235
    Helping Hand
    Rank: Participant

    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 ūüôā

    Example:
    Get-volume -FileSystemLabel projects | fl *

    OperationalStatus     : OK
    HealthStatus          : Unhealthy
    DriveType             : Fixed
    FileSystemType        : NTFS
    DedupMode             : NotAvailable

You must be logged in to reply to this topic.