VMware Cloud Community
Eire09
Enthusiast
Enthusiast
Jump to solution

ESX Server Specification Script

Hi,

I'm looking for a script that will outline the spec of an ESX Server ie Model, Processor speed, Description (x86 Family 6 Model 15 Stepping 6), speed etc

If someone has something like this that would be great.

Gracias.

0 Kudos
1 Solution

Accepted Solutions
mikeyhoward
Enthusiast
Enthusiast
Jump to solution

You need to run the command from a PC with PowerShell and the vSphere PowerCLI which is available within the VMware Downloads section here -

Once you have installed both, open the vSphere PowerCLI utility and run the command.

Before you run your command, you will need to login to your VC via the vSphere PowerCLI using the command "Connect-VIServer <your_vc_name>"

Hope that helps

Blogging: http://www.mikehoward.me.uk

View solution in original post

0 Kudos
3 Replies
NTurnbull
Expert
Expert
Jump to solution

Take a look at the scripts on virtu-al

Thanks,

Neil

Thanks, Neil
Eire09
Enthusiast
Enthusiast
Jump to solution

thanks Neil.

I'm new to scripting in vmware so could you help me out with this one.

I logged into my esx host via putty with the root account.

I tried running this line from within but it didn't work. Is there something I need to change?

Get-VMHost | Sort Name | Get-View | Select Name, @{N="CPU";E={$_.Hardware.CpuPkg[0].Description}} | Export-Csv c:\cpuinfo.csv

Thanks for the link.

0 Kudos
mikeyhoward
Enthusiast
Enthusiast
Jump to solution

You need to run the command from a PC with PowerShell and the vSphere PowerCLI which is available within the VMware Downloads section here -

Once you have installed both, open the vSphere PowerCLI utility and run the command.

Before you run your command, you will need to login to your VC via the vSphere PowerCLI using the command "Connect-VIServer <your_vc_name>"

Hope that helps

Blogging: http://www.mikehoward.me.uk
0 Kudos