Thursday, 12 September 2019

Changing IP Address using Batch File


Created a Batch file (ChangeIP.bat)and write command as below.

netsh interface ip set address "Local Area Connection" static 10.70.8.11 255.255.255.0 10.70.8.1



Run this command to Elevate Command Prompt

runas /noprofile /user:systemname\administrator ChangeIP.bat


-

No comments:

Post a Comment

Updating Softwares of Computer

  open Power Shell as Administrator type  winget upgrade will show the list of available updates  type winget upgrade --ALL   to auto doownl...