SYNOPSIS
- wbemcli.py HOSTNAME [-u USERNAME -p PASSWORD] [-n NAMESPACE] [--no-ssl] [--port PORT]
DESCRIPTION
This manual page was written for the Debian distribution because the original program does not have a manual page.
wbemcli.py is small utility to wrap up a PyWBEM session in a Python interactive console.
CIM operations can be executed by using the PyWBEM connection object called 'cli' in the global scope. There are two sets of aliases available for usage in the interpreter. For example the following three commands are equivalent:
-
>>> cli.EnumerateInstanceNames('SMX_ComputerSystem') >>> EnumerateInstanceNames('SMX_ComputerSystem') >>> ein('SMX_ComputerSystem')
Pretty-printing of results is also available using the 'pp' function. For example:
-
>>> cs = ei('SMX_ComputerSystem')[0] >>> pp(cs.items()) [(u'RequestedState', 12L), (u'Dedicated', [1L]), (u'StatusDescriptions', [u'System is Functional']), (u'IdentifyingNumber', u'6F880AA1-F4F5-11D5-8C45-C0116FBAE02A'), ..
COPYRIGHT
Copyright © 2009 Bernd Zeimetz
This manual page was written for the Debian system (and may be used by others). The description was taken from wbemcli.py and is (C) Copyright 2008 Hewlett-Packard Development Company, L.P.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/LGPL-2.