| Script: Backup and Restore IP Addresses |
There are 2 scripts for backup and restore ip addresses
The 1st script does the backup of the ip addresses:
This script will query all IP Addresses on all NIC cards that have TCP/IP enabled in the Active
Directory Domains or Work Group Names that you have access to. It will add the IP's into a DB that
can be used to restore from.
Add path to DB on line 21
Add your AD Domain or Work Group Name on Line 23
Script Usage:
cscript backupips.vbs
The 2nd script does the restore of the ip addresses:
This script will restore/add ip's stored in the dbase to the computer you you enter in as the /computer argument.
Add path to DB on line 21
*** It will remove all existing IP Addresses that exist on the card ***
Script Usage:
Restore IP's Usage: cscript restoreips.vbs /computer:[computername]
List IP's for One Computer: cscript restoreips.vbs /list:[computername]
List Computers in DB Usage: cscript restoreips.vbs /listcomputers
List IP's in DB Usage: cscript restoreips.vbs /listips
|
|
|
|
Click HERE to download the files.
|
|