VMware Cloud Community
deepak_ashwath
VMware Employee
VMware Employee

how to schedule a PowerGUI VMware vCLI script in windows 2003 server...

Hello,

I have written a script that deletes snapshots in regular intervals...

Now I want to schedule this script to run every day... Since it is ".ps" file .... Should I schedule to run as any other file in Windows ??...

How will the Vim.automation library get imported for the script to run when scheduled ???

Please suggest

Deepak

Reply
0 Kudos
2 Replies
lamw
Community Manager
Community Manager

Take a look at this blog post in which shows you how to schedule a PowerCLI task - http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/

You may also want to post your inquiry in the PowerCLI format - http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli, you're actually posting in the vCLI forum and it doesn't sound like that's what you're asking about Smiley Wink

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

deepak_ashwath
VMware Employee
VMware Employee

Thanks lamw for the helpful answer

Deepak

Reply
0 Kudos