Usage: %1!s! [name=][[address=] [/ [[mask=] ]] [[type=]unicast|anycast]] [[gateway=] [gwmetric=] ] [[validlifetime=] |infinite] [[preferredlifetime=] |infinite] [[subinterface=] ] [[store=]active|persistent] [[skipassource=]true|false] Parameters: Tag Value name - Interface name or index. address - IPv4 address to add, optionally followed by the subnet prefix length. mask - The IP subnet mask for the specified IP address. type - One of the following values: unicast: Adds a unicast address (default). anycast: Adds an anycast address. gateway - The IPv4 address of a default gateway to add. gwmetric - The metric to the default gateway. validlifetime - Lifetime over which the address/route is valid. The default value is infinite. preferredlifetime - Lifetime over which the address/route is preferred. The default value is infinite. subinterface - LUID of subinterface on which the default gateway exists. This parameter is only needed on interfaces with multiple subinterfaces. store - One of the following values: active: Address will disappear on next boot. persistent: Address will be persistent. This is the default. skipassource - Do not use the address as source address for any outgoing packet unless explicitly specified. The default value is false. Remarks: Adds static IP addresses and default gateways to an interface. If DHCP is enabled on the interface, it will be disabled. Examples: %1!s! "Wired Ethernet Connection" 10.0.0.2 255.0.0.0 %1!s! "Wired Ethernet Connection" gateway=10.0.0.3 gwmetric=2 The first command adds a static IP address of 10.0.0.2 with a subnet mask of 255.0.0.0 to the Wired Ethernet Connection interface. The second command adds the IP address of 10.0.0.3 as a second default gateway for this interface with a gateway metric of 2.
Usage: %1!s! name= addr= |ALL Parameters: Tag Value name - The name of the interface where DNS servers are deleted. addr ...
Usage: %1!s! name= addr= |ALL Parameters: Tag Value name - The name of the interface where WINS servers are deleted. addr ...
Usage: %1!s! name= addr=]IP address gateway=]IP address|ALL Parameters: Tag Value name - The name of the interface. addr ...
Usage: %1!s! name= addr=]IP address mask=]IP subnet mask gateway=]IP address gwmetric=]integer Parameters: name - The name ...
Usage: %1!s! name= address= / mask= type=]unicast|anycast gateway= gwmetric= validlifetime= |infinite preferredlifetime= ...
Usage: %1!s! name= address= gateway= |all store=]active|persistent Parameters: Tag Value name - Interface name or index. ...
Usage: %1!s! name= address= index= Parameters: Tag Value name - The name or index of the interface where WINS servers are ...
Usage: %1!s! name= address= index= validate=]yes|no Parameters: Tag Value name - The name or index of the interface where ...
Usage: %1!s! name= address= index= validate=]yes|no Parameters: Tag Value name - The name or index of the interface where ...