Administering Advanced Server at the Command Prompt Net Command
Product Manual U7613-J-Z815-6-76
© Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\O7613e6\u7613e.k09
9.2.1.2 Administering a Remote Advanced Server
To perform server administration tasks using the Net command remotely, use the net
admin command and the appropriate Net command for the task. Step 2 of the following
procedure describes two ways of entering the net admin command.
ÊTo enter a Net command remotely
1. Log on to the network as Administrator or as a user with administrative privileges.
(Operator privileges are not sufficient to perform this procedure.)
2. Enter the net admin command using on e of the following methods:
Enter a separate net admin command for each Net command you wish to execute. For
example, to display statistics for a server named account, type the following:
net admin \\account /command net statistics server
This method is useful for batch files.
Enter a net admin command followed by multiple net commands. For example, to
execute multiple net commands on a server named payroll, type the following:
net admin \\payroll /command
This creates an administrative
command shell from which you subsequently can issue
Net commands. The prompt changes to include the name of the server you are
remotely administering, for example,
\\
payroll
.
Any Net command that you type at this prompt executes on the server that you specify.
For example, at the prompt, type:
[\\payroll] net share
[\\payroll] net print
where
\\
payroll
is the prompt, and net share and net print are the commands.
To exit the command shell and return to the system prompt, type exit or press CTRL+Z.
Net co mmands which take a domain or computer name as an option can be used
for administering remote servers. This type of administration can be pe rformed
directly at the UNIX system command prompt without using the net admin command.
For example, to display local groups on a remote domain named market_dom, you
would type net localgroup /domain:market_dom.
i