Solved

PowerCLI Script for Determnin Storage Allocation per Resource Pool within vCenter

Posted on 2014-10-14
7
197 Views
Last Modified: 2014-12-02
I am looking for a PowerCLI script that I can run from a Windows server that will report how much storage has been allocated to all resource pools (multiple) present in vCenter.


Lipotech
0
Comment
Question by:lipotech
  • 3
  • 3
7 Comments
 
LVL 5

Expert Comment

by:Uni Kitty
ID: 40380910
Hi There!

I would recommend VMware's developer resource guides for Cmdlets as a starting point. I'm not sure what version of vSphere you're on, here's the link for 5.5.

http://pubs.vmware.com/vsphere-55/topic/com.vmware.powercli.cmdletref.doc/Overview.html

I like to point folks to VMware Flings, check out Onyx, it will monitor the communication between vCenter and the vSphere client and translate it into PowerShell code.
https://labs.vmware.com/flings/onyx

Hope that helps!
Melly
0
 

Author Comment

by:lipotech
ID: 40386794
Melly,

The information you provided is helpful. But I am still seeking a pre-written PowerShell script that can perform an audit of the each Resource Pool that exist on any given vCenter server.  

Let me know if you are aware of where I can look to find such a script.

Lipotech
0
 
LVL 5

Expert Comment

by:Uni Kitty
ID: 40387189
If you don't get a response here, you could try the VMware forums. I've seen a few PowerCLI scripts shared out there and maybe someone has something that can get you started at least.  

Try Onyx though, because it will output powershell examples for you, but I see that what you're doing is pretty specific.

I found this great blog for you that has a ton of resources, and it includes the community forums.
http://www.vtesseract.com/post/10685628144/resources-for-getting-started-with-powercli-automation

Good luck!
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

Author Comment

by:lipotech
ID: 40387217
Thank you.  I checkout these sources and close this case soon.

Lipotech
0
 

Author Comment

by:lipotech
ID: 40387227
Thanks
0
 
LVL 5

Accepted Solution

by:
Uni Kitty earned 500 total points
ID: 40387233
I poked around and found this sample for you:
https://communities.vmware.com/message/2186208#2186208
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

749 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