AHL1988
Contributor
Contributor

Informations VMs in vCenter

Jump to solution

Hi ,

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

best regards

eddy.

0 Kudos
1 Solution

Accepted Solutions
Gidrakos
Hot Shot
Hot Shot

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

0 Kudos
3 Replies
Gidrakos
Hot Shot
Hot Shot

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

0 Kudos
diegodco31
Leadership
Leadership

Do you know the rvtools?

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

No i dont now .

Best regrds

0 Kudos