all posts in the 'Scripting' category


KiXtart script to enable Outlook Anywhere or RPC-HTTPS

At work, people were using VPN to access their email out of the office, but I have always thought that logging into a corporate network via VPN for most users is an extra hassle that they could probably do without. I had considered setting up RPC over HTTPS for Exchange 2003 but during a meeting [...]

KiXtart script to generate and email uptime report

As part of my Service Level Agreement at work I have to produce a monthly uptime report for each server. Rather than generate individual reports for each server I decided to write a KiXtart script that would generate a report for all servers and email it to me each month.

KiXtart script to check for website availability

At work there is an old web application that is managed offsite by a hosting company. It runs on Oracle 9iAS. Apparently there is an issue with Oracle 9i and the web service will frequently crash (due to a known caching problem) taking the application offline.

Regkey to disable XP dial-up connection logon

Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson!

KiXtart script to backup MSSQL database

Here is another quick KiXtart script I wrote to backup a Microsoft SQL database on a server. I personally run it locally on the server that contains the database I want to backup using a scheduled task. It connects to the MSSQL database using the OSQL command line utility which it runs through a shell.

KiXtart script to retrieve Active Directory user info

Here's a quick script written using KiXtart to retrieve information for a user (object) in Active Directory. Once enumerated, object information is stored in variables to be used later.