In a corporate environment its not usual to have to pass through a proxy server to get out to the net, this can often be a challenge when building apps/scripts etc. However – to make things slightly less complicated, you can use the VB snippet below to pass the details of the currently logged on user to the proxy.
You can also adjust the code to pass username and password if you wish, however best make it secure!
I was recently approached by one of my colleagues with a dilemma, he had to go round our 30+ servers and stop and start a couple of Sophos’s Windows Services.
Now, as you can imagine this was starting to look like a fairly large and mundane task. Which is when I came up with this little VBScript.
Using this script below, you can pass it a text file with a list of machines you would like it to perform the process on.
In the script below you will see a “” change this to your text file containing machines, full file path.
The format of the text file is one machine per line.
This script is by no means ‘bullet proof’ and could be enhanced easily with little time and effort. It could also be modfied to stopstart any services you like.
Active directory can be a bit of a beast if not managed and maintained correctly. Using this code in a .vbs file you can output all currently disabled accounts.
You may want to expand this by using the file system object to output to a file?
Hello, Just a quick post to inform you all that my simple reset app for Windows Mobile 6 has now been repackaged into it’s own CAB file and now supports Modaco’s AppToDate
You can download RSReset from the downloads section, and read more about it on it’s project page
If you don’t yet have AppToDate on your mobile device you can download it from Modaco