vCenter hostname storage field table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 12:46 AM - edited 11-07-2023 08:30 PM
Hi All,
I want to populate hostname on vcenter cmdb_ci_vcenter custom field(hostname) through script but I am not getting the exact table for hostname of vcenter.
Due to circumstances, the "VMware Virtual Machine Instance" record is not available.
We would like to obtain the hostname of vcenter, for example, "VC001MC001", which is set on the terminal side.
how can I do that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:10 PM
Attribute Name should be in Context but just for technical sake you can reuse any OOB unused Character/String Field.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 11:07 PM
Hi @Rahul Priyadars ,
Okay thanks for reply, Still from where I would get hostname of vcenter?
Thanks.
Yash