如果你要得到本地或远程的使用配置信息,又不想浪费太多的解决时间。可以在Powershell中使用systeminfo.exe提取数据
代码如下: if(lcase(right(wscript.fullname,11))=wscript.exe)then setobjshell=wscript.createobject(wscript.shell) objshell.run(cmd.exe/kcscript//nologochr(34)wscript.scriptfullnamechr(34)) wscript.quit endif withwscript.arguments if.count
这篇文章主要介绍了显示系统信息与硬件信息的bat代码,需要的朋友可以参考下
******************************************************************************* RGISv1.03 RemoteGetInfomationScript,byzzzEVAzzz Welcometovisitewww.isgrey.comwww.h4h4.com Usage: cscriptrgis.vbs[/rtargetIPusernamepassword][/ofilename][/v][/a]