亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

讓IIS建立的站點(diǎn)默認(rèn)是.net 2.0的,而不是.net 1.1的代碼

 更新時(shí)間:2008年07月28日 23:19:00   作者:  
讓IIS建立的站點(diǎn)默認(rèn)是.net 2.0的,而不是.net 1.1的,沒有使用WMI,所以在操作前先得停止IIS相關(guān)服務(wù)
'/*=========================================================================   
' * Intro       讓IIS建立的站點(diǎn)默認(rèn)是.net 2.0的,而不是.net 1.1的,沒有使用WMI,所以在操作前先得停止IIS相關(guān)服務(wù)   
' * FileName    ChangeMetaBaseScriptMaps.vbs   
' * Author      yongfa365   
' * Version     v1.0   
' * WEB         http://www.yongfa365.com   
' * Email       yongfa365[at]qq.com   
' * FirstWrite  http://www.yongfa365.com/Item/ChangeMetaBaseScriptMaps.vbs.html   
' * MadeTime    2008-07-24 17:38:20   
' * LastModify  2008-07-24 17:38:20   
' *==========================================================================*/   

WScript.Echo "點(diǎn)確定前,請(qǐng)先運(yùn)行" & vbCrLf & "net stop iisadmin /y " & vbCrLf & "以停止IIS相關(guān)服務(wù)"  
Path = "C:\WINDOWS\system32\inetsrv\MetaBase.xml"  
Node = "http://configuration/MBProperty/IIsWebService"  
Set XmlDom = CreateObject("MSXML2.DOMXmlDomument")   
XmlDom.async = False  
XmlDom.load(Path)   
ScriptMaps = XmlDom.selectSingleNode(Node).getAttribute("ScriptMaps")   
ScriptMaps = Replace(ScriptMaps, "v1.1.4322", "v2.0.50727")   
XmlDom.selectSingleNode(Node).setAttribute("ScriptMaps") = ScriptMaps   
XmlDom.Save(Path)   
WScript.Echo "OK,請(qǐng)運(yùn)行" & vbCrLf & "iisreset" & vbCrLf & "重啟IIS相關(guān)服務(wù)" 

相關(guān)文章

最新評(píng)論