Reference for Win32_Proxy
|
|
Category (Kategorie): Operating System
Description (Beschreibung): The Win32_Proxy WMI class contains properties and methods to query and configure an Internet connection related to Windows Product Activation (WPA). This class was added for Windows XP.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_Proxy | Yes | Yes | - | - | - |
Properties (Attribute): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Caption | Yes | Yes | - | - | - | Description | Yes | Yes | - | - | - | ProxyPortNumber | Yes | Yes | - | - | - | ProxyServer | Yes | Yes | - | - | - | ServerName | Yes | Yes | - | - | - | SettingID | Yes | Yes | - | - | - |
Methods (Methoden): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | SetProxySetting | Yes | Yes | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Proxy")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|