饭祷爱

The quieter you are,the more you are able to hear

导航

2012年11月4日 #

powershell初探(七)

摘要: 本章说说powershell与wmi对象。其实我也不知道该说些什么,wmi对象就像.NET创建,使用就ok了。下面的博客链接其实说的更加清楚 http://www.cnblogs.com/fuhj02/archive/2010/12/26/1917058.html 当然,这是一个系列的文章。博客作者写的书籍《Windows PowerShell 2.0应用编程最佳实践》也是我学习powershell接触的第一本书籍。下面写一个简单的利用gwmi关机的例子将结束本文。 $op=get-wmiobject -namespace root\cimv2 -class "win32_opera 阅读全文

posted @ 2012-11-04 15:20 饭祷爱 阅读(230) 评论(0) 推荐(0) 编辑