Clearing /resetting get-counter network statistics


Hello there


I am looking into discarded packets case and cx is monitoring it using this cmdlet.

Is there a way to reset it without a reboot? We would like to identify, diagnose and quantify this behavior.
I think disabling / enabling the NIC might do it but I'd avoid it as this will interrupt the activities.

I looked in the documentation and didn't find anything referring to this.
Get-Counter (Microsoft.PowerShell.Diagnostics) - PowerShell | Microsoft Docs

Please advise, Thanks


0 Replies