Virtual Kim

@Kim_Bottu … Virtually Gung Ho

Show Statistics for the selected VM

The next script shows a variety of statistics for the VM inculding : ballooning, Swap, CPU, Uptime.. etc..

Target Type: Virtual Machine
Output format: action
param
(
[Parameter(Mandatory=$true)]
[VMware.VimAutomation.ViCore.Types.V1.Inventory.VirtualMachine[]]
$vParam
);

$vm = Get-VM $vParam
$vmm = $vm |get-view
$vmm.summary.quickstats

quicks

Follow Virtual Kim on WordPress.com

Blog Stats

  • 26,498 hits
%d bloggers like this: