Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
windows:adding-ips-quickly [2010-06-18 21:45:57] garrett.plasky |
windows:adding-ips-quickly [2011-08-10 20:51:19] garrett.plasky Approved |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Adding IPs Quickly to a Windows Server ====== | ====== Adding IPs Quickly to a Windows Server ====== | ||
- | Adding a single IP to a windows server is simple enough but when you need to add say 16 IPs, the process can become tedious. Below is a command you can run from the command line to add IPs quickly to a Windows server (tested | + | Adding a single IP to a windows server is simple enough but when you need to add say 16 IPs, the process can become tedious. Below is a command you can run from the command line to add IPs quickly to a Windows server((This has been tested |
- | <code console>> netsh interface ip add address "Local Area Connection" | + | <sxh shell>netsh interface ip add address "Local Area Connection" |
If you wanted to add a range say from 192.168.1.2 through 192.168.1.254 you could do: | If you wanted to add a range say from 192.168.1.2 through 192.168.1.254 you could do: | ||
- | <code console>> FOR /L %I IN (2,1,254) DO netsh interface ip add address "Local Area Connection" | + | <sxh shell> FOR /L %I IN (2,1,254) DO netsh interface ip add address "Local Area Connection" |
{{tag> | {{tag> |