`
flyingsword945
  • 浏览: 24409 次
  • 性别: 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.3-15.el8.aarch64.rpm

    离线安装包,亲测可用

    sblim-wbemcli-1.6.3-15.el8.x86_64.rpm

    官方离线安装包,亲测可用

    sblim-wbemcli-1.6.2-11.el7.x86_64.rpm

    离线安装包,亲测可用

    sblim-wbemcli-1.6.3-15.el8.ppc64le.rpm

    离线安装包,亲测可用

    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`来执行系统命令并捕获输出。以下是一个简单的示例,展示如何...

    提取硬盘序列号

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

    java读取硬盘序列号例子

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

    webgme-cli:用于管理Webgme项目和依赖项的命令行工具

    WebGME CLI WebGME cli是用于管理WebGME应用程序的工具。 具体来说,它提供了一个命令行界面,用于为各种WebGME组件从其他WebGME应用程序(等)创建,删除或安装。 要查看已在上并公开免费提供的组件和应用程序。...

    ibm wmb 参考资料

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

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

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

    wbem.zip_系统编程_Visual_C++_

    在这个压缩包中,包含了一系列头文件,如WbemDisp.h、WbemCli.h、WbemProv.h、WbemTran.h和WbemIdl.h,这些文件用于在Visual C++环境下开发与WMI交互的应用程序。 【系统编程】在计算机科学中,系统编程是指编写...

    Oracle Solaris 9 Solaris WBEM Services Administration Guide-70

    此外,还会介绍如何使用CLI工具(如`wbemcli`)进行交互操作。 9. **与其他系统集成**:WBEM服务遵循开放标准,因此可以与其他WBEM兼容的管理系统集成,实现跨平台的IT资源管理。 10. **法律条款与许可证**:文档...

Global site tag (gtag.js) - Google Analytics