table of contents
| PYWBEM(1) | wbemcli User Manual | PYWBEM(1) |
NAME¶
wbemcli - utility to wrap up a PyWBEM session in a Python interactive consoleSYNOPSIS¶
wbemcli
HOSTNAME
[-u USERNAME -p PASSWORD]
[ -n NAMESPACE] [--no-ssl]
[--port PORT]
DESCRIPTION¶
This manual page documents briefly the wbemcli command. This manual page was written for the Debian distribution because the original program does not have a manual page. wbemcli 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')
>>> 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'),
..
AUTHOR¶
Bernd Zeimetz <bzed@debian.org>Wrote this manpage for the Debian
system.
COPYRIGHT¶
Copyright © 2009 Bernd Zeimetz| 12/26/2009 | wbemcli |