VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast

Schedule Task in Vsphere Client

Hi,

I have a powercli script and I want to schedule it in my Vsphere Client so that it can run on a specified time everyday.

But I do not know how to do it. Please let me know how to schedule a powercli script in Vsphere client.

0 Kudos
2 Replies
LucD
Leadership
Leadership

Afaik the vCenter Scheduler can not be used for your own scripts.

Better use the Windows Task Scheduler to run your scripts at set times.

Alan explains how to do this in his Running a PowerCLI Scheduled task  post.


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

0 Kudos
Pilu1978
Enthusiast
Enthusiast

Ok. Due to some restrcition we can not schedule it through Task Scheduler. So any work arround for this like using any SDK or so.

0 Kudos