About networksetup in Remote Desktop
The command-line tool
networksetup is used to configure a client’s network settings.
Any command that uses
networksetup can be used in Remote Desktop using the Send UNIX Command task.
Find the command-line syntax, explanations, and example in the tool’s help prompt:
A few of the capabilities of
networksetup are listed below.
Displays a list of all the network services on the computer’s hardware ports. An asterisk (*) denotes that a network service is disabled.
Set the TCP/IP configuration for network service to manual with IP address set to
Sets the TCP/IP configuration for the specified network service to use DHCP. The client ID is optional. Specify “Empty” for [clientid] to clear the DHCP client id. For example:
Sets the TCP/IP configuration for the specified network service to use BOOTP. For example:
Specifies a manual IP address to use for DHCP for the specified network service. For example:
Specifies the IP addresses of servers you want the specified network service to use to resolve domain names. You can list any number of servers (replace
Designates the search domain for the specified network service. You can list any number of search domains (replace
Sets Web proxy for a network service with domain and port number. Turns proxy on. Optionally, specify
Displays a list of all the commands available in the Network Setup Tool, with explanatory information.