When I login to ontap system by using ssh,
and use the command
statistics show-periodic -interval 1 -object volume -iterations 0 -summary true -instance vol0 -counter avg_latency
I can get the performance data

But When I switch to use powershell command
Get-NcPerfData -Name volume -Counter "avg_latency" -Instance "vol0"
powershell return "Record doesn't exist"
Why it's different?
What can I do for this issue?