Contributor
Contributor

Snapshots With Scheduled Tasks

Jump to solution

Hello everyone,

I'm trying to come up with a script that will create a scheduled task to take snapshots from a text file at an specific time. The text file being the VMs names.

Any help will be create.

0 Kudos
1 Solution

Accepted Solutions
Leadership
Leadership

What I meant to say is that you can use the same Scheduled Task concept to launch a script.

In that script you can read the file with VM names, and create a snapshot for all of them.


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

View solution in original post

0 Kudos
3 Replies
Leadership
Leadership

There is a nice script in New vCenter Scheduled Tasks with PowerCLI (Part 2).

It uses the vCenter scheduler to schedule the tasks.

It shouldn't be too hard to add the functionality to read the VM names form a txt file


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

0 Kudos
Contributor
Contributor

Thanks, This works great for single VMs, I need to schedule quite a few.

0 Kudos
Leadership
Leadership

What I meant to say is that you can use the same Scheduled Task concept to launch a script.

In that script you can read the file with VM names, and create a snapshot for all of them.


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

View solution in original post

0 Kudos