`
flyingsword945
  • 浏览: 25238 次
  • 性别: Icon_minigender_2
  • 来自: ...
文章分类
社区版块
存档分类
最新评论

wbemcli命令

阅读更多

Synopsis

wbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ai|ain|ri|rin|gp|sp|cm|cmx [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-noverify ] [-cacert  file] [-clientcert  file] [-clientkey  file] [-ac  assocClass] [-arc  resultClass] [-ar  role] [-arr  resultRole] objectPath [prop=value[,...]] [prop[,...]]

 

Alternate formats:

wbemgct [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop[,...]]

wbemgcdt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath

wbemdct [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath

wbemect [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop[,...]]

wbemecnt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath

wbemgit [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop[,...]]

wbemcit [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop=value[,...]]

wbemmit [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop=value[,...]]

wbemdit [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath

wbemeit [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath [prop[,...]]

wbemeint [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath

wbemait [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-ac  assocClass] [-arc  resultClass] [-ar  role] [-arr  resultRole] objectPath [prop[,...]]

wbemaint [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-ac  assocClass] [-arc  resultClass] [-ar  role] [-arr  resultRole] objectPath

wbemrit [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-arc  resultClass] [-ar  role] objectPath [prop[,...]]

wbemrint [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-arc  resultClass] [-ar  role] objectPath

wbemgpt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath prop

wbemspt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath prop=value

wbemcmt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath method[.param=value[,...]]

wbemcmxt [-nl ] [-h ] [-t ] [-dx ] [-dr ] objectPath method[.param=value[,...]]

Operations:

gc      get class
gcd    get class definition
dc      delete class
ec      enumerate classes
ecn    enumerate class names
gi       get instance
ci       create instance
mi      modify instance
di       delete instance
ei       enumerate instances
ein     enumerate instance names
ai       enumerate association instances
ain     enumerate association instance names
ri       enumerate reference instances
rin     enumerate reference instance names
gp      get property
sp      set property
cm     call method
cmx   call method (return XML)

Options

-h
Print a help message
-nl
Start a new line for every property returned
-t
Append array ([]), reference (&) and key property (#) indicators to property names
-v
Show version information
-dx
Show XML messages payload as received from CIMOM
-dr
Delineate references with { } pairs
-noverify
Do not verify the server certificate for https URLs (useful for testing)
-cacert
CA certificate file (required for https URLS unless -noverify is specified)
-clientcert
Client certificate file (if the CIM server requires client certificates)
-clientkey
Client private key file (required if -clientcert is specified)
-ac
tassociation class name (ai, ain only)
-arc
tresult class name (ai, ain, rin, ri only)
-ar
trole name (ai, ain, rin, ri only)
-arr
tresult role name (ai, ain only)
分享到:
评论

相关推荐

    sblim-wbemcli-1.6.2-11.el7.x64-86.rpm.tar.gz

    通过rpm命令,用户可以轻松管理自己的Linux系统,包括sblim-wbemcli包在内的各种软件。 sblim-wbemcli包为Linux系统管理员提供了一个强大的工具,通过它,管理员可以更方便地管理和监控系统资源。通过遵循简单的...

    linux环境如何通过wmi访问windows

    基本的命令格式如下: ```bash wbemcli -n <hostname> -u <username> -p <password> instance enumerate ``` 例如,获取所有进程信息: ```bash wbemcli -n windows-server.example....

    获得 Linux window 的硬盘ID 和mac , ip 等信息(已测试)

    在Linux环境下,硬盘ID通常指的是硬盘的序列号,可以通过`udev`数据库或者`hdparm`命令来获取。Java中,我们可以使用`Runtime.exec()`或`ProcessBuilder`来执行系统命令并捕获输出。以下是一个简单的示例,展示如何...

    sblim-cmpi-sysfs-test-1.2.0-10.el7.x64-86.rpm.tar.gz

    - sblim-wbemcli-1.6.2-11.el7.x86_64.rpm:这是一个64位架构的RPM包,提供了WBEM命令行接口。 - perl-HTML-Parser-3.71-4.el7.x86_64.rpm:这是Perl语言的模块,用于解析HTML文档。 - perl-IO-Socket-SSL-1.94-7....

    提取硬盘序列号

    WmiUtils.UseWmi(Wbemcli.WBEM_FLAG_FORWARD_ONLY | Wbemcli.WBEM_FLAG_RETURN_IMMEDIATELY, "root\\CIMV2", new WmiQuery("SELECT * FROM Win32_DiskDrive", new IWbemServicesConsumer() { @Override public ...

    sblim-cmpi-nfsv3-test-1.1.1-9.el7.x64-86.rpm.tar.gz

    - sblim-wbemcli: WBEM(Web-Based Enterprise Management)CLI(命令行接口)是基于Web的企业管理标准的实现,用于系统管理。 针对上述文件的安装和使用,一般需要管理员权限。在Linux系统中,可以通过sudo命令...

    sblim-cmpi-base-test-1.6.2-8.el7.x64-86.rpm.tar.gz

    wbemcli-1.6.2-11.el7.x86_64.rpm、perl-HTML-Parser-3.71-4.el7.x86_64.rpm、perl-IO-Socket-SSL-1.94-7.el7.noarch.rpm、perl-URI-1.60-9.el7.noarch.rpm。 在Linux系统中安装此类文件包,通常需要先进行解压缩...

    java读取硬盘序列号例子

    for (WmiUtils.WmiResult result : util.queryWMI(wmiQuery, Wbemcli.class)) { System.out.println("硬盘序列号: " + result.getString("SerialNumber")); } } catch (Exception e) { e.printStackTrace(); }...

    sblim-cmpi-nfsv4-test-1.1.0-10.el7.x64-86.rpm.tar.gz

    例如,sblim-sfcb依赖于sblim-wbemcli,因此sblim-wbemcli-1.6.2-11.el7.x86_64.rpm也包含在压缩包中。 在这些依赖文件中,包含有Perl语言编写的模块,如perl-Net-SSLeay-1.55-6.el7.x86_64.rpm,perl-IO-Compress-...

    sblim-cmpi-syslog-test-0.9.0-4.el7.x64-86.rpm.tar.gz

    6. sblim-wbemcli-1.6.2-11.el7.x86_64.rpm:WBEM(Web-Based Enterprise Management)命令行接口,通过它可以从命令行管理WBEM兼容的服务。 7. perl-HTML-Parser-3.71-4.el7.x86_64.rpm:用于解析HTML文档的Perl...

    sblim-cmpi-params-test-1.3.0-10.el7.x64-86.rpm.tar.gz

    例如,cim-schema-2.33.0-6.el7.noarch.rpm很可能是与CIM相关的模式文件包,sblim-sfcb-1.3.16-12.el7_0.x86_64.rpm、sblim-wbemcli-1.6.2-11.el7.x86_64.rpm可能分别是与CIM相关的服务、框架和客户端的软件包。...

    sblim-gather-test-2.2.8-9.el7.x64-86.rpm.tar.gz

    文件的描述部分详细说明了解压安装的步骤,首先通过 tar 命令解压,然后进入解压后的目录,使用 rpm 命令进行安装。文件的标签为“rpm”,表明这是一个以 RPM 格式打包的软件。从压缩包中提取出的文件名称列表来看,...

    ibm wmb 参考资料

    4. **WMB操作命令**:掌握WMB的命令行工具,例如`runmqsc`用于管理队列管理器,`wbemcli`用于管理WMB资源。了解如何启动、停止、监控和管理消息流,以及如何执行故障排查。 5. **SOAP节点**:SOAP(简单对象访问...

    java获取硬盘序列号的两种方法

    对于Linux或macOS,你需要使用不同的方法,如通过`/dev/disk`路径或`ioreg`命令(macOS)获取硬盘信息。 2. **非公开API**:Java中使用`sun.misc`包的类是未公开的,这意味着它们可能会在未来的Java版本中被移除或...

Global site tag (gtag.js) - Google Analytics