Set Static IP

Sets the network address.

Privileges

Normal

Input Parameters

Name Type Required Description
Network Connection Selector Yes Select the network adapter to which the configuration will be applied from either Local Area Connection or Wireless Network Connection.
IP Address String Yes The new IP address for the selected adapter.
Subnet Mask String Yes The new subnet mask for the selected adapter.
Default Gateway String Yes The new default gateway mask for the selected adapter.
DNS Server String Yes The IP address for the DNS server for the selected adapter

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Network Connection Selector Yes Local Area Connection
IP Address String Yes 192.168.0.99
Subnet Mask String Yes 255.255.255.0
Default Gateway String Yes 192.168.0.1
DNS Server String Yes 1.1.1.1