Solved

power sheel scritp to check Vmware snapshots

Posted on 2016-10-03
4
47 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 121
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 121
ID: 41847296
Do you require any further assistance to close this question ?
0
 
LVL 15

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

628 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