Reply to Message

View discussion in a popup

Replying to:
SureshKumarMuth
Commander
Commander

Hi,

I am not sure about powercli, I may follow this in case I want to find this information

1. Login to ESXi host which has all the datastores mapped

2. Use general linux  "find" command to find the vmware.log file on all datastores

3. This will give you list of all vmware.log file from all folders may be lengthy one depends on number of VMs

4. copy the data to a file

5. Read the file and use cut command to get the fourth column i.e /vmfs/volumes/<DS name>/<vm folder>/vmware.log , fourth column is the VM name.

6. Compare this list with your VM inventory list exported from vCenter or some other tool, whichever VM is missing, then that VM does not have the log file.

Note: This output may not be very accurate if your VM name and VM folder name is different. However, it may help you to some extent.

Regards,
Suresh
https://vconnectit.wordpress.com/