Skip to main content
Version: 8.1

Execute Script to Provide Network Status of Remote Windows from IBM i

The following example illustrates the execution of a network status script on a remote Windows server.

STRUCM SCRIPT(myscript) HOST(dallas) USERID(joe) PWD(password)

The command myscript is sent to a remote system named dallas for execution. The standard output and standard error of myscript command are available to the initiating process as file QPRINT.

Command Line Options​

Option

Description

SCRIPT

File from which to read 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