Provide Network Status of Remote Windows from UNIX
Provide Network Status of Remote Windows from UNIX
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.
ucmd -script myscript -host dallas -userid joe -pwd password
The report is written to the standard out of UCMD.
Command Line Options
The command line options used in this example are:
Components
Universal Command Manager for UNIX