Click here to Skip to main content
15,894,311 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I need to change that server ip,subnet,gateway,dns using netsh cmd using cmd line in vb,somebody give netsh cmd for remote login system(using username and password).

Before,Netsh can use in all OS (win7,win8,win 8.1) or restricted to some OS.

netsh -r Admin-pc -u Admin-pc\administrator -p XXXXX interface ip set address name="Local Area Connection" Static 192.168.0.2 255.255.255.0 192.168.0.1

if i run in Windows Server 2008(Windows Server R Standard)in cmd prompt,it show error msg like some command line not found.

So pls give correct netsh cmd line and also netsh support for all os ?


Regards
Aravind
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900