Solved

power sheel scritp to check Vmware snapshots

Posted on 2016-10-03
4
27 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 118
ID: 41826316
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
ID: 41827044
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 118
ID: 41847296
Do you require any further assistance to close this question ?
0
 
LVL 14

Expert Comment

by:Jason Crawford
ID: 41897204
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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
A brief introduction to what I consider to be the best editor for PowerShell.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

920 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

16 Experts available now in Live!

Get 1:1 Help Now