Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Powershell Script to manage Storage onm ESX 5.1 Hosts

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

Is Your AD Toolbox Looking More Like a Toybox?

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

704 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