I am trying to add a large block of IP addresses to our NIC in Server 2008 R2. For some reason this isn't working from the command line or from a batch file though.
FOR /L %A IN (131,1,190) DO netsh interface ipv4 add address "Local Area Connection" 206.217.129.%A 255.255.255.192
I am getting the message "A wasn't expected at this time" although from looking at it the syntax appears to be correct.