Skip to content

Instantly share code, notes, and snippets.

@suuhm
Last active January 16, 2024 18:49
Show Gist options
  • Select an option

  • Save suuhm/300de09e2992330f7df5d8d2b35173f7 to your computer and use it in GitHub Desktop.

Select an option

Save suuhm/300de09e2992330f7df5d8d2b35173f7 to your computer and use it in GitHub Desktop.
Get listening TCP / UDP Ports like netstat in linux just on windows cmd
@echo off
REM netstat -tulpen analog:
echo\
netstat -anvp tcp | findstr "LIST*"
REM German
netstat -anvp tcp | findstr "ABH*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment