Mike's Realm chown -R us ./base


vCenter Orchestrator Script – Increment VM Name by 1

Simple little code snippet that you might find handy to use in vCenter Orchestrator.  I am working on a workflow that needs to clone a VM and the name should increment by 1 for example, we want to clone appweb1 (but we already have appweb2, 3, 4) so we want the new VM to be appweb5.

Inside a new Scriptable task create an output parameter called newvmname and make it's source itself.  Then use this bit 'o code:

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.