How do you want to use WMI?

zhoumingxuan 2004-06-15 12:52:03
How do you want to use WMI?
...全文
210 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
marvelstack 2004-06-22
  • 打赏
  • 举报
回复
这里有托管的类库,楼主可以下载使用;
http://sourceforge.net/project/showfiles.php?group_id=93348&package_id=99037&release_id=234458
zhoumingxuan 2004-06-22
  • 打赏
  • 举报
回复
看不明白,请问楼上你做过没有?
  • 打赏
  • 举报
回复
只要你的程序遵循mmc接口规范就可以了.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mmc/mmc/mmc_programmer_s_guide.asp
zhoumingxuan 2004-06-15
  • 打赏
  • 举报
回复
How do you want to use WMI?

就是说:如何使用WMI控件.

我想问:
如何用C#把程序嵌入到管理控制台(MMC)中?

就像SQL Server2000那样,我最近在朋友公司看到了一个这样的软件,他们是可以把系统程序做成像SQL SERVER一样
  • 打赏
  • 举报
回复
to Sangel() :

兄弟的思想也太狭隘了...

若是爱国,何必停留在肤浅的表面意识形态上!

还是从自己的身边开始吧,不用在这里鸹噪...
Sangel 2004-06-15
  • 打赏
  • 举报
回复
学计算机的学英语是为了学外国的计算机技术,别以为自己人面前说英文很拽,给点爱国的表现,说自己的母语吧
clin2y 2004-06-15
  • 打赏
  • 举报
回复

up
huangsuipeng 2004-06-15
  • 打赏
  • 举报
回复
??
  • 打赏
  • 举报
回复
yes. I used it on Distribute Management under Windows System.
you can integrated it in your application development, it's powerfull.
System Administration Scripting Guide Script Repository Version 1.0, May 2002 The scripts included in this help file are likely to appear in the forthcoming System Administration Scripting Guide, which will ship as part of the Windows .NET Server Resource Kit. In the Scripting Guide itself, each script will be explained in step-by-step fashion, and instructional material will help you learn how to modify these scripts to suit your unique individual needs. In addition, the book will also teach you how to write your own scripts using VBScript, WMI, ADSI, and other Microsoft Scripting technologies. Most of the scripts are designed to run with either Windows 2000, Windows XP, or Windows .NET Server. Scripts that are not designed to run on all these platforms include a brief note indicating which versions of Windows are required. To use the scripts, copy the appropriate script code, paste it into Notepad or another text editor, and save the file with a .vbs file extension. For more information about these scripts or about the book, contact the Scripting Guide team at scripter@microsoft.com A Note About the WMI Scripts Most of the WMI scripts in this repository create a variable named strComputer, and then set the value of that variable to "." Thus, the scripts generally include this line: strComputer = "." This causes the script to run against the local computer. This is due to the way that the script has been composed, and the fact that WMI views a computer named "." as being the local computer. If you want to run the script against a remote computer, simply replace the "." with the name of the remote computer, surrounded by double quotation marks. For example, this line of code runs the script against a remote computer named PrintServer1: strComputer = "PrintServer1" This is the only change you need to make in order to run the WMI scripts against a remote computer. Bear in mind, however, that you will need to have administrative rights on the remote computer in order for the script to succeed. In addition, WMI must be installed both on the local computer and on the remote computer.

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧