VMware Cloud Community
AHL1988
Contributor
Contributor
Jump to solution

Informations VMs in vCenter

Hi ,

please i want to have a use of CPU %, Memory % and hard disk % with PowerCLI script .

best regards

eddy.

Reply
0 Kudos
1 Solution

Accepted Solutions
Gidrakos
Hot Shot
Hot Shot
Jump to solution

You're gonna want Get-Stat, for example:

Get-Vm myVMName | Get-Stat

But that's going to get you ALL stats for all time intervals. You can alter that to only be for specific periods or specific stats, see: VMware vSphere 5.1  for all the details.

View solution in original post

Reply
0 Kudos
3 Replies
Gidrakos
Hot Shot
Hot Shot
Jump to solution

You're gonna want Get-Stat, for example:

Get-Vm myVMName | Get-Stat

But that's going to get you ALL stats for all time intervals. You can alter that to only be for specific periods or specific stats, see: VMware vSphere 5.1  for all the details.

Reply
0 Kudos
diegodco31
Leadership
Leadership
Jump to solution

Do you know the rvtools?

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
AHL1988
Contributor
Contributor
Jump to solution

No i dont now .

Best regrds

Reply
0 Kudos