Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Get Tags and Attributes from within the VM

$
0
0

Hi there.

 

I'm currently redesigning our OS setup and for our virtual environment which is based on VMware vSphere and vCenter (currently running 5.5 but in progress to being updated to 6.5).

With the new setup process I would like to leverage attributes and/or tags. When a new VM is being requested it will be created (automatically) with additional information in the attributes/tags like which Zone (LAN, DMZ, Zone 1 etc), Role, Service Class an others.

During the OS installation process I would need some of this information.

 

How would I get that Information? I know I can get it via Powershell, connecting to the vCenter and specifying the VM and get the attributes. But when I'm setting up the OS running a script within the VM I do not have the VM name in vCenter.

Can I get this info somehow via VMware Tools? Any other ideas?

 

Regards,

Marc


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>