Solved

power sheel scritp to check Vmware snapshots

Posted on 2016-10-03
4
19 Views
Last Modified: 2016-11-22
Hi,

I recently encountered issues which were caused by a VMware snapshot running for a long time.  

I am looking for a Pshell script I can run which will tell me if there are any snapshots present for all the VMguest on a vcentre.
0
Comment
Question by:Nicenchrisp
  • 2
4 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Why not set a vCenter Server ALARM ? if you are monitoring your servers with vCenter Server.

you could also use Snapwatcher!

http://try.opvizor.com/snapwatcher/
0
 
LVL 1

Accepted Solution

by:
Harry H earned 500 total points
Comment Utility
A simple script to run on power cli to get the running snapshots and size of the snapshots.

get-vm | Get-Snapshot | select vm, description, sizeGB | Export-Csv XXXPATHXXX

Hope it helps
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Do you require any further assistance to close this question ?
0
 
LVL 14

Expert Comment

by:Jason Crawford
Comment Utility
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Harry H (https:#a41827044)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

exchangepro
Experts-Exchange Cleanup Volunteer
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article will help you understand what HashTables are and how to use them in PowerShell.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now