VMware Cloud Community
poncia23
Contributor
Contributor
Jump to solution

Snapshots With Scheduled Tasks

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
LucD
Leadership
Leadership
Jump to solution

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
LucD
Leadership
Leadership
Jump to solution

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
poncia23
Contributor
Contributor
Jump to solution

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

0 Kudos
LucD
Leadership
Leadership
Jump to solution

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

0 Kudos