Skip to content

Batch Script Net Statistics

Learn how to use the net statistics command in Windows batch scripts to view network session, traffic, and error metrics for servers or workstations.

net statistics display network statistics of the workstation or server.

Syntaxbatch
net statistics [server/workstation]

Example

net statistics server
Outputplaintext
Server Statistics for \\WIN-12GP34DP567

Statistics since 1/3/2022 01:07:52 PM

Sessions accepted 0
Sessions timed-out 0
Sessions errored-out 0
Kilobytes sent 0
Kilobytes received 0
Mean response time (msec) 0
System errors 0
Permission violations 0
Password violations 0
Files accessed 0
Communication devices accessed 0
Print jobs spooled 0
Times buffers exhausted
Big buffers 0
Request buffers 0
Navigation