viwsl - Online in the Cloud

This is the command viwsl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


wsl - A shell based command line client for WSMAN servers

DESCRIPTION


wsl (aka "whistle") contains various scripts that serve as a client interface to WSMAN or
Web Services for Management protocol based on DMTF standard specification. WSMAN provides
standards based messaging for systems management CIM-style objects.

To talk to a remote WSMAN service, start with "wsl id check". This command will request
the IP address, user name and password for the remote server and populate a file ".wslrun"
in the current directory. After the first run, you can use the commands listed below
without having to provide IP address, user name and password repeatedly. This is the
default behavior. However, you can configure wsl so that it always ask for IP address or
IP address and user credential for each command in case you want to work with more than
one target.

The environmental variables that could affect the behavior of wsl are listed in README
file.

Help information is provided at different levels. Typing "wsl" provides help information
about available commands. Typing "wsl enum" provides help information about enum command
and its parameters. Typing "wsl enum help" gives the same information.

OPTIONS


e|enum|enumerate
Sends SOAP message with WS-MAN ENUMERATE command. Equivalent to calling "wslenum"
directly.

id|identify
Sends SOAP message with WS-MAN IDENTIFY command. Equivalent to calling "wslid"
directly.

i|invoke
Sends SOAP message with WS-MAN INVOKE command. Equivalent to callint "wslinvoke"
directly.

g|get Sends SOAP message with WS-MAN GET command. Equivalent to calling "wslget"
directly.

p|put Sends SOAP message with WS-MAN PUT command. Equivalent to calling "wslput"
directly.

s|set See put.

xcert Command to extract SSL certificate of the server hosting WSMAN.

xclean Command to remove/delete the files generated by this tool.

xcred Command to encrypt username and password to a file. The same command can be used
for decrypting the same file for verification. Equivalent to calling "wslcred"
directly.

AUTHENTICATION


wsl supports basic and digest authentication mechanism. You will be prompted for user name
and password at run time or you can provide their values to environment variables WSUSER
and WSPASS.

A more secure method is to use the light encryption method provided by wsl. See the xcred
command option. It will create a credential file that contains the encrypted form of the
user name and password. To use, simply provide the filename to WSUSER prefixed with
"FILE:". You do not have to provide WSPASS in this case.

Use viwsl online using onworks.net services



Latest Linux & Windows online programs