1.

Solve : How to check the IP address are static or not on a remote PC using DOS cmds?

Answer»

at work I have a network where some PC's have static IP and most have DHCP. Is there a way I can RUN a btch file to do an audit on the network?You want to tell if the COMPUTER has DHCP enabled or not? Assuming Windows XP, you can run SOMETHING like:
Code: [Select]netsh interface ip SHOW configOr if you want to only display the DHCP status, you could do:
Code: [Select]netsh interface ip show config | findstr enabled... but you wouldn't know which interface was which if there were multiple NICs.



Discussion

No Comment Found