Windows Commands

Domain resolution

The nslookup command can be used to check that the correct DNS server is being hit.

nslookup <>
Flush DNS changes

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

ipconfig /flushdns
List all files in 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

Leave a Reply

Your email address will not be published. Required fields are marked *