VMware Cloud Community
TheVMinator
Expert
Expert

Integration of PowerCLI with vCO (vCenter Orchestrator)

If I have a task

I want to automatically run daily, is it best to:

  • Create a job in vCO without using PowerCLI
  • Create a powerCLI script and have vCO call it


For example I use a scheduled task to enable DPM overnight and disable it in the morning.  I want to check every night if DPM is enabled and every morning if it is disabled.

Should I use vCO entirely, or vCO + PowerCLI?

0 Kudos
2 Replies
LucD
Leadership
Leadership

Thread moved to the Orchestrator community


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
iiliev
VMware Employee
VMware Employee

To me, both options sound feasible.

Which one would be best depends on many factors, like your environment structure, scripting language preferences, etc. For example, if you have a large infrastructure where a single vCO manages several VCs, then it could be easier to maintain a set of vCO management workflows on the single vCO server. If you feel more comfortable with Power Shell scripts than with Javascript, or there is already a PowerCLI comandlet suitable for your task, then go to PowerCLI route.

BTW, there is PowerShell plug-in for vCO, so if you choose to use vCO without PowerCLI, you will still have the option to execute PowerShell scripts.

0 Kudos