Get Network Computers Uptime using Powershell

The problem Computers just need to be rebooted.  Its a simple fact.  If you manage a lot of computers, keeping track of the last time a reboot happened may be an issue.  Here’s a down and dirty script to get Continue reading Get Network Computers Uptime using Powershell

Bulk Domain Look ups using Power Shell

This script will help do look ups on multiple domains. I use this frequently to verify that our customers didn’t move their domain to another DNS server without our knowledge. There are a ton of uses for this just modify Continue reading Bulk Domain Look ups using Power Shell

PowerShell Script to check file version across the network

Our office runs an application that is constantly being updated.  Unfortunately the program is not easy to update via Group Policy (GPO), so instead of walking to each computer to check if it needs an upgrade or if it is Continue reading PowerShell Script to check file version across the network

Process and restart your Windows DNS servers with a batch file.

If you are like me and have multiple Windows DNS servers to manage, you find that it gets tiresome to constantly update, clear the cache and restart the DNS Server service.  Scripting to the Rescue! Here is a batch file Continue reading Process and restart your Windows DNS servers with a batch file.

Using ShadowSpawn and Robocopy to copy in use files over a low bandwidth connection.

I had a Mail Server that needed to be moved from one location to another without interrupting service. The new server and the old server are in two different locations separated by many miles. The only connection between the two Continue reading Using ShadowSpawn and Robocopy to copy in use files over a low bandwidth connection.

Backup via Batch with no 3rd party software

Here was my challenge. I need a temporary backup solution that does not use any 3rd party tools and will give a backup of the past X days (14 in my case). This solution must not be a resource hog. Continue reading Backup via Batch with no 3rd party software

SQL 2008 Truncate log files for all databases

First, let me qualify this post. This is not my code. I modified the code to fit my needs. The original code and article are here. My modification simply allows the script to bypass any databases that are offline. We Continue reading SQL 2008 Truncate log files for all databases

Batch file to Suspend, Backup and Start a VM under VMWare workstation

To backup a VM running under VMware Workstation, you have to manually shutdown or suspend the VM, manually run a backup and then manually restart the VM. I hate manual labor! So I set out to fix the problem the best Continue reading Batch file to Suspend, Backup and Start a VM under VMWare workstation

Batch script to restart IIS services. Can be modified for other purposes.

If you have ever had a server that is has difficulty with the iisreset command, this may help.  In my testing it works on everything from Windows 2000 to 2008R2.  Your mileage may vary. We use this to automate resets on a Continue reading Batch script to restart IIS services. Can be modified for other purposes.