Solved

power sheel scritp to check Vmware snapshots

Posted on 2016-10-03
4
38 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 119
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 119
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

856 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