wbemexec man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

wbemexec(1)							   wbemexec(1)

NAME
       wbemexec - submit a CIM operation request to a CIM Server

SYNOPSIS
       hostname] portnumber] httpversion] httpmethod] timeout] username] pass‐
	      word] [inputfilepath]

DESCRIPTION
       The command provides a command line interface to	 a  CIM	 Server.   The
       input  to  the  command	consists of a CIM request encoded in XML.  The
       request is submitted to the CIM Server  for  execution.	 If  the  HTTP
       response	 from  the  CIM Server contains a status code of 200 (OK), the
       result returned to stdout is the CIM response encoded in	 XML.	Other‐
       wise,  the  result returned to stdout is the HTTP response.  Some types
       of invalid XML requests	(e.g.  missing	PROTOCOLVERSION	 attribute  or
       missing	NAME attribute) are detected by and result in an error message
       from Other invalid XML  requests	 (e.g.	invalid	 CIMVERSION  attribute
       value  or  missing  XML	version),  are detected by the CIM Server, and
       result in an HTTP response, containing a non-Success status code,  such
       as 501 (Not Implemented) or 400 (Bad Request).

       By  default, the request is sent as an HTTP/1.1 request, using the HTTP
       M-POST method, and waits 20000 milliseconds (20	seconds),  then	 times
       out  if	a response hasn't been received.  Input is read from stdin, if
       no input file is specified.

       By default, the	operation  is  executed	 on  the  local	 host.	 first
       attempts to connect to the CIM Server on the default port for the wbem-
       http service, and if that fails, another attempt is made on the default
       port for the wbem-https service.

   Options
       recognizes the following options:

	      Connect to the CIM Server on the specified host.
			     If	 this option is not specified, connects to the
			     local host.

	      Connect to the CIM Server on the specified port number.
			     If this option is not specified, connects to  the
			     default port for the wbem-http service, or if the
			     option is specified, to the default port for  the
			     wbem-https service.

	      Use the specified HTTP version
			     for  the  request.	  The version must be "1.0" or
			     "1.1".  The 1.0 version may not be	 specified  if
			     the M-POST method is specified.

	      Use the specified HTTP method
			     for  the  request.	  The method must be "POST" or
			     "M-POST".

	      Wait the specified number of milliseconds on sending a  request,
	      before timing out if no response has been received.  The
			     timeout  value  must  be an integer value greater
			     than 0.

	      Connect as the specified
			     username.	If username is not specified, the cur‐
			     rent  logged  in user is used for authentication.
			     This option is ignored if	neither	 hostname  nor
			     portnumber is specified.

	      Authenticate the connection using the specified
			     password.	 If  the password is not specified and
			     the remote host requests authentication, the user
			     is	 prompted  for	a  password.   This  option is
			     ignored if neither	 hostname  nor	portnumber  is
			     specified.

	      Enable the use of the SSL protocol between
			     and  the CIM server.  The option should be speci‐
			     fied if the CIM Server  on	 the  specified	 host‐
			     name/portnumber  expects clients to connect using
			     HTTPS.  (See for information on  configuring  the
			     CIM  Server.)   This option is ignored if neither
			     hostname nor portnumber is specified.

EXIT STATUS
       When an error occurs, an explanatory error message is written to stderr
       and  an	appropriate  value is returned.	 The following exit values are
       returned:

	      Success
	      Error

EXAMPLES
       Submit an XML request contained in the file cimrequest.xml to  the  CIM
       Server running on the local host on the default port:

       Submit  an  XML request contained in the file cimrequest.xml to the CIM
       Server running on the host hpserver on port 49152, using	 the  username
       guest and password guest for authentication:

AUTHOR
       was  developed  by  the	Open  Group  OpenPegasus  Open Source Software
       project.

SEE ALSO
       cimserver(1M), cimconfig(1M).

STANDARDS CONFORMANCE
								   wbemexec(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net