Skip to content

Instantly share code, notes, and snippets.

@YagmurOzden
Last active December 24, 2021 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YagmurOzden/7348bfe0e2e4219f951981f42e2998eb to your computer and use it in GitHub Desktop.
Save YagmurOzden/7348bfe0e2e4219f951981f42e2998eb to your computer and use it in GitHub Desktop.
VMware vRO workflow, vSphere, GuestOS, VM, Virtual Machine
// VMware vRealize Orchestrator workflow sample
// vRA 8.4
//workflow input type: guestOSName (ARRAY/VC:VirtualMachineGuestOSIdentifier),
// guestOSDescription (ARRAY/string),
// OS (string),
// vmName (string)
//workflow return type: guestOSName (ARRAY/VC:VirtualMachineGuestOSIdentifier)
for (i in guestOSDescription){
if (OS ==guestOSDescription[i]) {
System.log("guest os has appointed: "+guestOSName[i].name);
guest_OS= guestOSName[i];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment