Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Powershell Script to manage Storage onm ESX 5.1 Hosts

Posted on 2013-05-10
5
Medium Priority
?
488 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
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.
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 anti-spam), the admin…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

927 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