VMware Cloud Community
Nizue
Contributor
Contributor
Jump to solution

PowerCLI: Bus resets

Hello!

Please tell me if there is a way to collect Disk — Bus resets for VM using PowerCLI.

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The metric is disk.busresets.summation.
Same remark as in your other thread, always available in Realtime, for other intervals the Statistics Level needs to be set to at least 2

$vmName = 'MyVM'

$vm = Get-VM -Name $vmName
Get-Stat -Entity $vm -Stat disk.busresets.summation -Realtime


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

1 Reply
LucD
Leadership
Leadership
Jump to solution

The metric is disk.busresets.summation.
Same remark as in your other thread, always available in Realtime, for other intervals the Statistics Level needs to be set to at least 2

$vmName = 'MyVM'

$vm = Get-VM -Name $vmName
Get-Stat -Entity $vm -Stat disk.busresets.summation -Realtime


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference