VBS基础
文章平均质量分 60
BadgeZ
越努力,越幸运。
展开
-
Windows server2008 下 PowerShell对.NET3.5静默安装
Dim objShell,strCommonLine,strCommond1,strCommond2Set objShell = CreateObject(WScript.Shell)strCommonLine = "powershell.exe"app = objShell.Run(strCommonLine)objShell.AppActivate appWScript.S原创 2016-10-09 17:59:09 · 1545 阅读 · 0 评论 -
WinServer2008下通过powershell获取IIS等角色功能列表,保存至txt
Set objShell = CreateObject("WScript.Shell")strCommondLine = "powershell.exe"app = objShell.Run(strCommondLine)objShell.AppActivate appWScript.Sleep 100strCommond = "Import-Module ServerMana原创 2016-10-09 17:58:50 · 682 阅读 · 0 评论 -
VBS获取本地IIS中网站的信息(IP、端口、站点名称)
Dim W3SVC,WebServer,Bindings,ALLBindingInfo,fs,TextFilePath,WebSiteNameOn Error Resume NextErr.ClearSet fs = WScript.CreateObject("Scripting.FileSystemObject")TextFilePath = fs.GetFile(WScript原创 2016-10-09 17:58:48 · 1133 阅读 · 0 评论