Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

Native vRO vCenter Tagging - No Powershell

$
0
0

This workflow will apply vCenter tags to a Virtual Machine using web calls to the vCenter SDK and inventory services, no powershell jump host required.

 

You must create 2 new rest hosts:

  1. https://<vcenter fqdn>:443
  2. https://<vcenter fqdn>:10443

 

When you run the workflow, it will prompt you for:

 

  1. SDKRestHost (#1 listed above) - used to issue calls to SDK
  2. InvRestHost (#2 listed above) - used to issue calls to Inventory
  3. User - Username with rights to apply tags in vcenter
  4. Password - Password of the user
  5. Virtual Machine - The virtual machine you want to apply tags to
  6. Tags - a list of tag names you want to apply to the virtual machine.

 

Currently tested with:

  • vRO 6.0
  • vCenter 5.5

 

vRO 6 is required as it uses the new Switch and Default Exception items. If there is enough interest I can backport it to vCO 5.5.

 

Use at your own risk, test in development environment first etc. etc...

 

-James


Viewing all articles
Browse latest Browse all 24426

Trending Articles