-encoding:{utf-8 | utf-16} Defines the encoding used to transmit data to and from the
remote system. The default option is utf-16.
-f[ormat]:{xml | pretty | text} Specifies the output format of the data. The default setting
is text, which is the human-readable form shown in Figure 17.1. The xml setting outputs
pure XML without any white space. Using the pretty setting outputs XML with white space
to make the data more readable.
REMOTE SYSTEM MANAGEMENT 431
Accessing a System with the WinRS Utility
The Windows Remote Shell (WinRS) utility helps you execute commands on a remote system. This
utility doesn??™t support interaction, which means that the command you supply has to provide all
required information. The console displays the results of any command you execute. This utility
uses the following syntax:
winrs [-r[emote]:ENDPOINT] [-un[encrypted]] [-u[sername]:USERNAME
-p[assword]:PASSWORD] [-t[imeout]:SECONDS] [-d[irectory]:PATH]
[-env[ironment]:STRING=VALUE] [-noe[cho]] [-nop[rofile]] COMMAND
The following list describes each of the command line arguments.
-r[emote]:ENDPOINT Specifies the endpoint (the target of the command) using either an URL
or a NetBIOS name.
Pages:
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020