How to add Ip range using command on windows servers.

Login to server.
Go to start >> run >> cmd
Type following command.
Ipconfig /all
Copy the local area connection name that you get. (Adapter name)
Edit and use following command for it.

“FOR /L %A IN (10,1,20) DO netsh interface ipv4 add address “Local Area Connection” 192.168.1.%A”
FOR /L loop to add IP’s to this adapter:
replace this (10,1,20) with the starting and ending ip
like above is the range to add so 10 is start and 20 is end
192.168.1.%A replace this with the range this with subnet