This article describes how to collect all esxi hosts information through powercli command.
Login powercli and run the below details.
# Connect-VIserver
enter the VCSA name
To get VM scsi controller information in vCenter.
# Get-VM| Get-ScsiController | Select Parent, Name,BussharingMode
for exporting details in excel sheet run the below command.
# Get-VM| Get-ScsiController | Select Parent, Name,BussharingMode | Export-Csv -Path D:\scsi.csv -NoTypeInformation
Path location you can give as based on your wish.
No comments: