How to get the Service Tag from your server using VB scripting

Filed Under (Windows Networking) by Just An Admin on 30-01-2009

When contacting your hardware vendor to report a problem or order additional hardware, like disks or memory, you are often asked to provide the Service Tag. Off course you have the service tags well documented in your CMDB repository. In case your CMDB is not so up to date or lacking any content at all, this little script will grab the tag from any system name or IP you enter, as long as your an admin or allowed to run WMI queries against the system.

Read the rest of this entry »

Exporting User account information from AD to Excel

Filed Under (Windows Networking) by Just An Admin on 13-06-2008

Our Active directory is, like with many other, the source of user information. You should think of address information, function/department. Every now and then the account information is verified and when in doubt, discussed. Having the information in a human readable form, such as an Excel sheet, makes it so much easier. The script below will export all user info from the Active Directory to an Excel sheet. Just run from a computer connected to the your domain with a user that is allowed to query the AD and watch the magic (gives me a smile every time is see it run).

Read the rest of this entry »

Incoming search terms:

Inventory computer serial numbers during logon

Filed Under (Windows Networking) by Just An Admin on 23-05-2008

Why did we write this script? IBM allows us to get the warranty status of our IBM systems and how long the warranty lasts. It also enables us to check if the extended warranty was registered correctly.

Lookup for a single system
Lookup for multiple systems

The compilation of a list or input file that contains the required fields for a ‘multiple systems lookup’ wasn’t as easy to do as we had hoped.

Read the rest of this entry »

Getting to grips with password expirations!

Filed Under (Windows Networking) by Just An Admin on 14-05-2008

Every two months user start calling or e-mailing the helpdesk to request a reset of their Active Directory account. Because a lot of users work at customer locations, they miss the warning about their expiring account. A former collegue brought the following script to my attention, which automaticly sends users a warning message when their password is about to expire. Allthough nearly perfect, some little adjustements have been made:

Read the rest of this entry »

Incoming search terms: