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
15 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
4 Comments
 
LVL 38

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 14

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

813 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

15 Experts available now in Live!

Get 1:1 Help Now