Last active
December 24, 2021 06:42
-
-
Save YagmurOzden/7348bfe0e2e4219f951981f42e2998eb to your computer and use it in GitHub Desktop.
VMware vRO workflow, vSphere, GuestOS, VM, Virtual Machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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