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