Mehdis
2009-12-22 10:58:02 UTC
Hi all,
I want to write a script in powershell that will add IP's to a nic. i.e.
when added they will appear on the IP Addresses section on 'Advanced TCP/IP
Settings' of the TCP/IPv4 properties in 'Local Area Connection Properties'.
I've been looking at Win32_NetworkAdapterConfiguration however all the
examples I have seen so far just talk about getting IP addresses and adding a
static IP.
Another consideration.....is there any best practices for adding hundreds of
IP's all in one go? Will doing them all in one go give any kind of
performance hit?
Hope someone can help me with this as I'm a little stumped.
Much appreciated.
I want to write a script in powershell that will add IP's to a nic. i.e.
when added they will appear on the IP Addresses section on 'Advanced TCP/IP
Settings' of the TCP/IPv4 properties in 'Local Area Connection Properties'.
I've been looking at Win32_NetworkAdapterConfiguration however all the
examples I have seen so far just talk about getting IP addresses and adding a
static IP.
Another consideration.....is there any best practices for adding hundreds of
IP's all in one go? Will doing them all in one go give any kind of
performance hit?
Hope someone can help me with this as I'm a little stumped.
Much appreciated.