User Tools

Site Tools


windows:cli_tools

Download on CLI

When you don't have tools like wget or curl on a Windows box, you can use the following to download files on the CLI using certutil.

certutil.exe -urlcache -f "https://wiki.jbstafford.co.uk/lib/tpl/dokuwiki/images/logo.png" "C:\Users\user\Desktop\logo.png"

Filter CLI Output

findstr /I
ipconfig /all | findstr /I dns

Show Firewall Status

netsh advfirewall show currentprofile

Test Network Connection

(PowerShell)

Show Disk

Gather information about local drives

cmd.exe /C "wmic path win32_logicaldisk get caption,filesystem,freespace,size,volumename"
test-netconnection -port 389 172.16.0.1
windows/cli_tools.txt · Last modified: by bstafford