Show Windows adapter packet errors and discards
Build a paste-ready command, then review its compatibility and effects before running it.
Get-NetAdapterStatistics | Select-Object Name,ReceivedPacketErrors,OutboundPacketErrors,ReceivedDiscardedPackets,OutboundDiscardedPacketsread-onlyno known side effects Compatibility
WindowsVerified for Windows using powershell syntax.
Operational knowledgereview due 2027-01-20
RequirementsGet-NetAdapterStatisticsGet-NetAdapterStatistics must be installed and available on PATH.
Version supportGet-NetAdapterStatistics Current supported releasesVerified for windows using powershell syntax; consult compatibility notes for platform-specific differences.
Expected signalsName ReceivedPacketErrors OutboundPacketErrors ReceivedDiscardedPackets OutboundDiscardedPacketsRepresentative successful output; values vary with the selected target and system state.
Known errorsGet-NetAdapterStatistics: command not foundGet-NetAdapterStatistics is missing or is not available on PATH.
VerifyGet-NetAdapterStatistics | Select-Object Name,ReceivedPacketErrors,OutboundPacketErrors,ReceivedDiscardedPackets,OutboundDiscardedPacketsThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01Get-NetAdapterStatisticsCommandRuns the Get-NetAdapterStatistics stage of this one-liner.
02|PipelinePasses the output on the left to the command on the right.
03Select-ObjectCommandRuns the Select-Object stage of this one-liner.
04Name,ReceivedPacketErrors,OutboundPacketErrors,ReceivedDiscardedPackets,OutboundDiscardedPacketsArgumentPasses Name,ReceivedPacketErrors,OutboundPacketErrors,ReceivedDiscardedPackets,OutboundDiscardedPackets to Select-Object.
Example input
Get-NetAdapterStatistics | Select-Object Name,ReceivedPacketErrors,OutboundPacketErrors,ReceivedDiscardedPackets,OutboundDiscardedPackets
Example output
Name ReceivedPacketErrors OutboundPacketErrors ReceivedDiscardedPackets OutboundDiscardedPackets
---- -------------------- -------------------- ------------------------ ------------------------
Ethernet 0 0 3 0
Illustrative output — exact values vary by system and data.
Official sources