VBScript

Email Sign offs

Some time ago I wrote a post on the Mimecast Active Stationary and creating a custom email disclaimer with a business card pulling the information from AD. This is a great solution, however there is one draw back, it applies the business card to the very bottom of the emails on replies and threads. IT works well when the email has been generated on the sending end as it applies it directly below. I had a look some time ago at creating a script that would create an Outlook signature but didn’t get very far. Last week a colleague/friend...

Retrieve Disk info from servers set by a specific threshold

Whilst I am in the process of writing these scripts to make my job easier I learnt that there is such a thing as information overload! The disk space report is  all very well but, what if you only wanted to see the servers with disk running low on space, we set our thresholds typically at 20% as that should give us enough time to plan new disks if needed or address the problem for most servers. So I started with a script that checked all the disks attached to servers listed in the text file and only reported back if they...

Get serial numbers from multiple servers

So, since I was playing around with scripting I thought that I would try and get the serial numbers of all my servers on the network. so I used the basics of the script I wrote for the disk space and adapted it to get the BIOS info of the server. Again it uses the idea of dragging a list of servers in a text file Here is the script: dim filesys, text, readfile, contents 'Create a Shell and FileSystem Object Set WshShell = WScript.CreateObject("WScript.Shell") set filesys = CreateObject("Scripting.FileSystemObject") ...

Check the diskspace on all your servers in one go

A few years ago I decided to write a script to automate this process for me as at that point in time I was managing about 30 servers each with 3 maybe 4 drives. The script I had back then was pretty neat and reported all the disk space statuses of servers listed in a text file, just by dragging a text file with the servers listed in it onto the VBScript. The problem with the original script was that it checked each server for drives C: to L: so I had a piece of code for each drive like this: 'C$...

Exchange Mailbox Stats

One of the things that I need to do on a monthly basis, sometimes on a weekly basis is pull a list of Mailbox stats on our two Exchange Servers. We only have the two servers, and in the grand scheme of things only a small number of users (250 or so spread across both Exchange Servers). The pain on this process is having to go in to each individual Storage Group and then into each Mailbox Store and then export the Mailboxes list to a CSV file. However this has now changed, I found a simple VBScript on...