Yes, it will take time to see the metric appear in all intervals.
Your lines of code seem to work for me. It looks as if the problem is that 'Get-VM my-vm' doesn't return anything.
Yes, it will take time to see the metric appear in all intervals.
Your lines of code seem to work for me. It looks as if the problem is that 'Get-VM my-vm' doesn't return anything.