Skip to content

Instantly share code, notes, and snippets.

@Telematica
Last active March 19, 2020 19:12
Show Gist options
  • Save Telematica/24cc75b78c70f9e29c50 to your computer and use it in GitHub Desktop.
Save Telematica/24cc75b78c70f9e29c50 to your computer and use it in GitHub Desktop.
Handy Windows OS Commands and Routines
::C:\Users\username>netstat -o -n -a | findstr 0.0:3000
:: TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 3116
netstat -o -n -a | findstr 0.0:3000
::C:\Users\username>taskkill /F /PID 3116
::ERROR: The process "3116" not found.
::Kill process named node.exe
taskkill /im /f node.exe
::tested on Windows 7 (x64) / Windows 10
wmic bios get SerialNumber
:: SerialNumber
:: GZXSW12
::tested on Windows 7 (x64)
wmic memorychip get speed
::Result:
:: Speed
:: 1600 (x1 slot) (MHz)
:: 1600 (x2 slot) (MHz)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment