Automation

 View Only
  • 1.  PowerCLI: Bus resets

    Posted Mar 30, 2021 03:18 PM

    Hello!

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



  • 2.  RE: PowerCLI: Bus resets
    Best Answer

    Posted Mar 30, 2021 04:10 PM

    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