send2uls.exe is used to transfer ULS value files to the ULS-server. On success, it will remove the ULS value files.
Usage:
send2uls.exe [-?] [-l] [-h <testhost>] [-u <ulsserver>] [-U <ulsserver2>] [-S] [-P <proxy>] [-d <dir>] [-e <line>] [<files>]
parameter | description |
---|---|
-? | Shows the usage summary. Any unrecognized parameter will generate this output. |
-l | Outputs some verbose information during program execution. |
-h <testhost> | Checks whether the ULS-server accepts values from the <testhost> and its currently effective ip address. It returns an “OK” on success, “NOSRV” on failure. |
-u <ulsserver> The transfer is only done if the transfer to the <ulsserver> was successful. |
|
-S | Use HTTPS in when transferring data to the ULS-server. the script accepts the self-signed certificate offered by the ULS-server as is (no check and no two-way authentication). Man-in-the-middle attacks are possible. |
-P <proxy> | Use the proxy, <proxy> := ip:port, e.g. 10.1.1.111:3333 |
-e <line> | Transfer a one-liner to the ULS-server, no file, no directory. <line> must confirm to lines described in ULS Value File Format. |
-d <dir> | Transfer all files in directory <dir> to the ULS-server <ulsserver> and optionally to ULS-server <ulsserver2>. Remove the <dir> only if the transfer 1) to <ulsserver> was successful. Nevermind if the transfer to <ulsserver2> was successful. |
<files> | Transfer all given <files> to the ULS-server <ulsserver> and optionally to ULS-server <ulsserver2>. Remove the <files> only if the transfer 2) to <ulsserver> was successful. Nevermind if the transfer to <ulsserver2> was successful. |