VBScript Archives - MikeSel - Downloads, How-To's, News, Reviews & Rumours

Managing large ActiveDirectory estates can often be a challenge, especially when you have a large group of AD administrators controlling group access.. This nifty little VBScript can be used to enumerate all the members of an AD Group. Handy for regular maintenance tasks.

This VBScript could easily be adapted to out put the list to a file, or even embedded inside a larger application which performs automated maintenance tasks.

TermiatorUsing this very simple straight foreword vbscript, you can cycle through all currently running processes and kill the one you name below.

This can be handy if you have an application/instance which has become non responsive, such as IE when loading flash based pages maybe…

SophosI 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.

I was approached a few days ago to develop a solution for monitoring access to a folder on a server (with auditing enabled). My first approach was to try and monitor the files last access time, but I found this to be somewhat unreliable. So my next method was to monitor the systems event logs. This proved much more reliable. If not a little too much at times.

Drop the code below in a .vbs file, execute and sit back and relax.

The following vbs script will list all of the currently installed Microsoft Hotfixes as per their KB number, a brief description, there installation date and who it was installed by. You may want to pass the computer name, to check a remote computer. Leaving as is will run the scan on the local machine.

Also you may find it beneficial to output this to an excel spreadsheet or a CSV etc.

Page 1 of 3123

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!


* = required field

powered by MailChimp!