Apology for the delay reply. Exactly i am looking for Storage path pre-and post checks report (csv format) of ESX host & Storage activities on vCenter level.
ESX host Name,HBA Adapter,Type,Status,Device,LUN, LUN NAA ID,Targets,LUN Path State (Active or Standby).
Thanks in advance
Got the expected output using the below script lines which clearly gives the path state (Active or standby) and the vmbha runtime information.
Get-VMHost -PipelineVariable esx | Get-ScsiLun -LunType disk -PipelineVariable lun | Get-ScsiLunPath |
LunPath,State | Export-Csv "C:\HBA1.csv" -NoTypeInformation -UseCulture
How can modify this script for finding information about specific lun ids which I can input via a text file using getcontent.
The idea is to get path information for 100 luns for which I know naa IDs already.