table of contents
PYWBEM(1) | wbemcli.py User Manual | PYWBEM(1) |
NAME¶
wbemcli.py - utility to wrap up a PyWBEM session in a Python interactive consoleSYNOPSIS¶
wbemcli.py HOSTNAME
[-u USERNAME
-p PASSWORD] [
-n NAMESPACE] [ --no-ssl]
[--port PORT]
DESCRIPTION¶
This manual page documents briefly the wbemcli.py command. 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')
>>> 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 Zeimetz10/04/2014 | wbemcli.py |