Solved

PowerShell to check Virtual SAN VM state before start other VMs and to check if VMs are off before to stop VSA VM.

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

All is in the title.

Our environnement is:

Server 2012 R2 Std with Hyper-V
VMs storage is on HP VSA VM, which is using local storage of the HV host.
VMs Production Servers are also 2012 R2 Std and their names are SRV*.

Any PowerShell Guru there ?

Thanks in advance for your help !
0
Comment
Question by:Member_2_7966914
[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
4 Comments
 
LVL 39

Expert Comment

by:Philip Elder
ID: 41827206
0
 

Author Comment

by:Member_2_7966914
ID: 41834976
Thank you Philip,

I was hoping for some more specific PowerShell script .
There is no mention of storage check, VM HB is a great info for the VSA shutdown process but I need to check the Hyper-V VM Storage prior to start VMs.
0
 
LVL 14

Accepted Solution

by:
Shabarinath Ramadasan earned 500 total points
ID: 41853965
Hi,

Check if the below HyperV dashboard can help.

https://gallery.technet.microsoft.com/scriptcenter/HyperV-Dash-Board-VM-Disk-299bac7d

Cheers !
Shaba
0
 
LVL 15

Expert Comment

by:Jason Crawford
ID: 41897205
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: Shabarinath Ramadasan (https:#a41853965)

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A brief introduction to what I consider to be the best editor for PowerShell.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

734 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