Find VM's (datastore's, folder's, pool's and etc.) ID by name

Posted by Olegarr on Server Fault See other posts from Server Fault or by Olegarr
Published on 2010-01-20T12:42:04Z Indexed on 2010/04/04 14:03 UTC
Read the original article Hit count: 229

Filed under:
|

Hello:

I am wondering if there is a way to find VM's (esx's, datastore's, folder's, pool's and etc.) ID by name from vSphere Power CLI.

The goal is to find ID of VM if name if known (and the same for esx, datastore, folder, pool and etc.).

Thanks, Olegarr

© Server Fault or respective owner

Related posts about vmware

Related posts about virtualization