We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
What commands can I use to diagnose problems on a Windows Virtual Machines?
Environment
Windows VMs
Answer
This is a short list of commonly used commands for troubleshooting issues with Windows VMs:
Command | Useful Parameters | Description |
ipconfig | IP, Gateway, Subnet Mask | |
/all | Adds DHCP,DNS, MAC, etc | |
/release | Dump current DHCP lease | |
/renew | Request new DHCP lease | |
dir | Show contents of directory | |
/w | Wide – display data in wide format | |
/p | Pause – pause between screens | |
netstat | Show current network connections | |
-ar | Active routes | |
-an | Active ports w/ src & dest IPs | |
tracert <IP> | Traceroute | |
ping <IP> | Ping – 4 packets by default |
Universal Windows Parameters:
-h | Help – windows equivalent to ‘man’ |