Shells & Scripts

在使用利用 WMI 功能获取计算机系统信息的脚本的时候,往往会出现“runtime error permission denied getobject”这样的错误,下面分 Win2000 和 Win2003 平台分别说明解决的方法。 Win2000 运行 dcomcnfg 命令 重启 COM+ Event System 和 Windows Managemetn Instrumentation 服务。 Win2003 运行 dcomcnfg 命令 如图,选中 My Computer 的 Properities, Check “Enable Distributed COM on this computer”。 重启 COM+ Event System 和 Windows Managemetn Instrumentation 服务。 ################################## 个人声明:此中文章皆为原创,如有转载但请注明出处,谢谢!! 批评与建议请联系:simpleman.xu#gmail.com #################################

Continue reading about 利用 wmi 获取计算机信息时出现“runtime error permission denied getobject”的解决

This article was Previously posted on Don Hite’s Blog This VBS script will take a Hot Fix ID from an input dialog box and will determine whether or not the Hot Fix is installed on a list of machines contained in a text file called MachineList.Txt. It will then write the results to an Excel [...]

Continue reading about VBS Script To Verify If A Specified Hot Fix Is Installed On A List Of Remote Machines

xuming on May 28th, 2007

Top ten reasons why nbmail can fail: BLAT is commented out in the nbmail.cmd script — remove the ‘@rem’ from in front of the BLAT command. No email address configured or email address incorrectly configured on Universal Settings tab. The BLAT line in nbmail.cmd is not correctly configured; syntax has changed in the later versions [...]

Continue reading about nbmail.cmd troubleshooting

xuming on May 28th, 2007

blat -to xnming21@163.com -cc xnming21@hotmail.com -subject test -body “This is a test.” -attach 20070523.txt 具体语法如下 Blat v2.5.0 w/GSS encryption (build : Sep 14 2005 22:46:29) Win32 console utility to send mail via SMTP or post to usenet via NNTP by P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde http://www.blat.net syntax: Blat <filename> -to <recipient> [optional switches (see below)] Blat -install <server addr> [...]

Continue reading about blat 基本用法