tdubb123
Expert
Expert

hi Luc

couldnt you have done this instead?

Get-VMHost | % {

      ($_ | Get-View).config.storagedevice.multipathinfo.Lun | %{$_.Path} | `

      select Name, PathState | `

      where {$_.PathState -eq "dead"} | `

      Add-Member -PassThru NoteProperty Server $_.Name | `

      Select Server, Name, PathState

}



Reply
0 Kudos