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
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 ![]()
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
Thanks lamw for the helpful answer
Deepak
