HEllo,
How can we extract list of all the vms from vc through webclient or by powercli,
please help on this
refgards,
Jelan
RVtools will do the job.
https://www.robware.net/rvtools/
Via PowerCLI just do get-vm once connected to the VC server.
Get-VM - vSphere PowerCLI Cmdlets Reference
CHeck out this post which has similar question and the script is working :
VMware PowerCLI Forum - VMware {code}
PowerCLI Script to list VMs by their hosts
Get-VM - vSphere PowerCLI Cmdlets Reference
Please consider marking this answer as correct and helpful if this helps you.
regards
Gayathri
need vm size and storage details where vm sits
The answers from above are also valid for this question. If you dont want do use powershell i highly recommend to take a look to RVtools. You can easily export it directly to MS Excel.
We use Williams old vSphere Healthcheck (perl based) to fetch the information.
2sec of Google:
Script VMware VM Inventory report with multiple details.
Regards,
Joerg
Use RVtools which I already posted above. It will give you pretty much every bit of information you would ever need.