• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

Powershell Script to manage Storage onm ESX 5.1 Hosts

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
Mark_Mckie
Asked:
Mark_Mckie
  • 3
  • 2
1 Solution
 
Pramod UbheCommented:
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
 
Pramod UbheCommented:
I forgot but vcli or vc module of powershell, so there are chances.
0
 
Mark_MckieAuthor Commented:
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
 
Pramod UbheCommented:
Yes you can run these commands from windows 7 desktop provided it has powercli/virtual center snapin installed.
0
 
Mark_MckieAuthor Commented:
Found solution on this site
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now