Solved

Powershell Script to manage Storage onm ESX 5.1 Hosts

Posted on 2013-05-10
5
470 Views
Last Modified: 2013-06-11
Hi there i am looking to be able to list all Storage that is presented to a test ESX 5.1 Host, then take the LUN names ( Starts with naa.600 ), then be able to tweek Disk.QFullSampleSize and Disk.QFullThreshold then apply the changes to all our other ESX 5.1 hosts.

The script should be able to output the current storage that is presented to the hosts to file, and then after the process above is complete to then list the storage that is presented again and output to compare results.
0
Comment
Question by:Mark_Mckie
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 39155352
I don't think powershell can grab any information from esx as it is Linux based OS.
You may check with a Linux admin for pearl script or something similar to it.
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 39155356
I forgot but vcli or vc module of powershell, so there are chances.
0
 

Accepted Solution

by:
Mark_Mckie earned 0 total points
ID: 39155513
I have found this

http://yaztech.co.uk/blog/?x=entry:entry121031-195226;comments:1

But could this same thing be scripted in Powershel to be ran from a windows 7 workstation? and to also change the settings on multiple hosts.
0
 
LVL 10

Expert Comment

by:Pramod Ubhe
ID: 39156039
Yes you can run these commands from windows 7 desktop provided it has powercli/virtual center snapin installed.
0
 

Author Closing Comment

by:Mark_Mckie
ID: 39237121
Found solution on this site
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
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…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

895 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

13 Experts available now in Live!

Get 1:1 Help Now