Set Static IP

Sets the network address.



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
Subnet Mask String Yes
Default Gateway String Yes
DNS Server String Yes