Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Release IP

Status
Not open for further replies.

dehat01

Technical User
Mar 10, 2003
6
US
Anybody know a way to release the IP address of a workstation via VBScript? I have a large number of workstations who's IP's needs to be released before they're re-imaged. Thanks.
 
Hello dehat01,

Does simply using ipconfig /release_all serve the purpose? If yes, run it with the usual ritual.
Code:
dim wsh
set wsh=createobject("wscript.shell")
wsh.run "ipconfig.exe /release_all"
set wsh=nothing
Or, develop something from there?

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top