Check mirrored drive health


ps v2

server 2008 r2

i have few mirrored drives on servers want monitor.  i use software mirror disk management create.

in past, have had check health of mirror manually , in 1 case mirror had been broken time without notice.  good thing other drive kept working!

is there ps method can check health of mirror?  in disk management see columns layout = mirror , status = healthy..., don't know how access these fields ps using either get-wmiobject win32_logicaldisk or get-psdisk.

any ideas?

rick

$info = "list volume" | diskpart | ? {$_ -match "mirror"}  volume ### ltr label  fs  type  size  status  info ---------- --- ----------- ----- ---------- ------- --------- -------- volume 0  d data  ntfs mirror  50 gb healthy rd 




Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group