Useful command line tricks
Here are some useful CMD commands:
Description | Command |
---|---|
Show the current IP configuration | ipconfig ipconfig /all (for more details) |
Flush your local DNS cache | ipconfig /flushdns |
Show URLACL's | netsh http show urlacl netsh http show urlacl | findstr.exe /r /c:"URL" |
Show SSL-Certifikates | netsh http show sslcert netsh http show sslcert ipport=0.0.0.0:443 netsh http delete sslcert ipport=0.0.0.0:443 |
Add URLACL: | netsh http add urlacl url=http://+:8080/ user=DOMAIN\user netsh http add urlacl url=https://+:443/ user=DOMAIN\user |
HTTPS-certificate register to port | netsh http add sslcert ipport=0.0.0.0:443 certhash=HASH appid={GUID} eg: netsh http add sslcert ipport=0.0.0.0:443 certhash=df25040067c714e1de83574f3e953a8220c88dfc |
List Network Connections and Ports | netstat -an |
Troubleshoot Network Connection Issues | ping and tracert: |
Scan System Files for Problems | sfc /scannow |