/
Provide Network Status of Remote Windows from IBM i
Provide Network Status of Remote Windows from IBM i
Provide Network Status of Remote Windows from IBM i
This example produces a report of the network status of a remote Windows system. Instead of executing a command on the remote host, a local script file is executed.
The following figure illustrates the script file, MYSCRIPT.
echo System Status echo ---------------------------------------------------------------------------------------- date /t time /t echo ---------------------------------------------------------------------------------------- netstat -se echo ---------------------------------------------------------------------------------------- netstat -a echo ----------------------------------------------------------------------------------------
The following figure illustrates the command to execute the script file.
STRUCM SCRIPT(myscript) HOST(dallas) USERID(joe) PWD(password)
The report is written to the stdout of STRUCM.
Command Line Options
The command line options used in this example are:
Option | Description |
---|---|
File from which to read a script file. The script file is sent to the remote system for execution. | |
Directs the command to a computer with a host name of dallas. | |
Remote user ID with which to execute the command. | |
Password for the user ID. |
Components
, multiple selections available,
Related content
Provide Network Status of Remote Windows from IBM i
Provide Network Status of Remote Windows from IBM i
More like this
Provide Network Status of Remote Windows from IBM i
Provide Network Status of Remote Windows from IBM i
More like this
Provide Network Status of Remote Windows from IBM i
Provide Network Status of Remote Windows from IBM i
More like this
Provide Network Status of Remote Windows from UNIX
Provide Network Status of Remote Windows from UNIX
More like this
Provide Network Status of Remote Windows from UNIX
Provide Network Status of Remote Windows from UNIX
More like this
Provide Network Status of Remote Windows from UNIX
Provide Network Status of Remote Windows from UNIX
More like this