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
34 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

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

624 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