Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: Script required for vsphere

$
0
0

Hi Vivari, as a suggestion I would start with RVTools (free utility to pull common data from vCenter)...  It allows exports to Excel and a good Utility to use if you don't know PowerCLI scripting.  Even though RVTools is a good util it will not collect all the information you are looking for.

 

Are you looking for this to be in one report or can it be gather from several sources?

 

There isn't an easy way to gather the HBA Firmware levels without connecting to the ESX host via SSH. 

 

Use RVTools for Datastores, networks and ESX patch levels.

 

If you can't gather the information you are looking for using RVTools then PowerCLI scripts would be the next option.

 

Script for collecting NIC and HBA Firmware.

http://vblog.strutt.org.uk/2012/04/esx-hba-and-nic-driverfirmware-versions/

 

 

Cluster HA Settings: (This command will display if HA is Enabled and HA Failover Level)  Is this what you are looking for?

Get-Cluster ClusterNameGoesHere

 

PowerPath:

http://communities.vmware.com/thread/404405

 

Get-VMHost | 
Select Name,@{N="PowerPath";E={  $pp = Get-VMHostPatch -VMHost $_ | where {$_.Description -like "*PowerPath*"}  if($pp){$pp.Description}  else{"Not present"}
}}

 

It's always best to include as much information you are looking for when posting to the community.

 

This should get you started.  If you need this in a single report please reply with an example of the data and layout you are looking for.

 

 

Regards,

JayLB


Viewing all articles
Browse latest Browse all 232869

Trending Articles