Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 214147

Re: Issues with powercli script to create/delete snapshots

$
0
0

To your questions

1) yes

2) That is possible, for example

$now = Get-Date

Get-VM -Name Nix | New-Snapshot -Name "Nix-Snap-$now"

But note that you don't have to include the date in the name of the snapshot.

When you do a Get-Snapshot the returned object will have a property called Created that holds the date of creation of the snapshot.


Viewing all articles
Browse latest Browse all 214147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>