Collection of Windows commands commonly used in development.

Domain resolution

The nslookup command can be used to check that the correct DNS server is being reached and that the name is resolving into IP.

nslookup <>

Flush DNS changes

This command forces any DNS changes to propagate to servers despite DNS caching.

ipconfig /flushdns

List all files in the current directory

Below is an example of a command that lists all files in a given directory and stores them into a text file named LlistOfFiles.txt.

dir /s /b /o:gn >listOfFiles.txt

List all environment variables


Kill all instances of running NodeJS.exe

taskkill /im node.exe /F