Basically what I'm trying to do is run a script across all PCs in one subnet to find what Exceptions they have on their Proxy connection,
It goes out to an external proxy for filtering & security
this is because we want to move to a Group policy set the proxy and proxy Exceptions list,
I'd like to combine it into one file i can run over Powershell or something (I do have PSEXEC on my computer)
I also want input all results into a CSV or similar
any help would be much appreciated, this is what i have so far
cscript exceptionlist.vbs>output.txt
Const HKEY_CURRENT_USER = &H80000001
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
strValueName = "ProxyOverride"
oReg.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue
Wscript.Echo "Current Exceptions List: " & strValue