Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI ClientNetworkProtocol QueryContent of WMI ClientNetworkProtocol Query.vbsMD5 Hash: 893285AAB1D47050993AE717F295E945 |
||
On Error Resume Next
Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array(".") For Each strComputer In arrComputers WScript.Echo WScript.Echo "==========================================" WScript.Echo "Computer: " & strComputer WScript.Echo "==========================================" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\Microsoft\SqlServer\ComputerManagement10") Set colItems = objWMIService.ExecQuery("SELECT * FROM ClientNetworkProtocol", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) For Each objItem In colItems WScript.Echo "ProtocolDisplayName: " & objItem.ProtocolDisplayName WScript.Echo "ProtocolDLL: " & objItem.ProtocolDLL WScript.Echo "ProtocolName: " & objItem.ProtocolName WScript.Echo "ProtocolOrder: " & objItem.ProtocolOrder WScript.Echo "SupportAlias: " & objItem.SupportAlias WScript.Echo Next Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |