Bize Ulaşın / Contact Us

Script ile mevcut proxy ayarlarini gormek

12 / 01 / 2010 by Uncategorized Yorum yok / No Comments

Merhaba, eger basit bir script ile bilgisayarinizin mevcut proxy ayarlarini gormek istiyorsaniz asagidaki scriptten faydalanabilirsiniz. Calistirdiginizda size proxy sunucunuzun adini, baglandiginiz port hakkinda bilgi verecektir.

On Error Resume Next

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”)

Set colItems = objWMIService.ExecQuery(“Select * from Win32_Proxy”)

For Each objItem in colItems
Wscript.Echo “Proxy Port Number: ” & objItem.ProxyPortNumber
Wscript.Echo “Proxy Server: ” & objItem.ProxyServer
Wscript.Echo “Server Name: ” & objItem.ServerName
Wscript.Echo
Next

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*

Kontrol / Control * Time limit is exhausted. Please reload CAPTCHA.