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.


The following figure illustrates the command to execute the script file.


The report is written to the stdout of STRUCM.

Command Line Options

The command line options used in this example are:

Option

Description

SCRIPT

File name of a script file. The script file is sent to the remote system for execution.

HOST

Directs the command to a computer with a host name of dallas.

USERID

Remote user ID with which to execute the command.

PWD

Password for the user ID.

Components

Universal Command Manager for IBM i