Author Archive

Update ESXi 4 standalone server without vCentre

If like me you have the free Vmware ESXi 4 standalone server you’ve probably found that updating it can be a bit tricky without having vCentre handy or a second server to migrate all  your VMs to.  So here is the process i have just followed to successfully update my 2010 v4.1 server to the […]

Posted on September 10, 2012 at 23:15 by simon · Permalink · Leave a comment
In: Vmware · Tagged with: , ,

Powershell NSLOOKUP

The following PowerShell one liners give you hostname to IP or vice versa.

Posted on August 18, 2012 at 11:17 by simon · Permalink · Leave a comment
In: Power Shell · Tagged with: , , , ,

Validate an IP address in PowerShell

Today I needed to validate an IP address after a user types it in to a script.  I don’t want to ping or check connectivity, I just want to validate that the format looks like a valid IP address.  I looked at various regex expressions which were getting complicated.  Then I stumbled upon this little nugget:

Posted on August 17, 2012 at 19:57 by simon · Permalink · One Comment
In: Power Shell · Tagged with: , ,

Move the titlebar buttons to the right in Ubuntu 12.04

If like me you don’t like the way that Ubuntu is looking more and more like OSX these days here is something you can do to help restore some normality back to your desktop.

Posted on August 6, 2012 at 0:36 by simon · Permalink · One Comment
In: Linux · Tagged with: , , ,

Remove spaces from a cell in Excel

I use Excel a lot to manipulate raw text data.  One thing I need to do often is remove spaces from a cell, here are 2 approaches you can use:

Posted on August 5, 2012 at 19:21 by simon · Permalink · One Comment
In: Excel

Copy members of one AD group to another group

Today I needed to copy about 300 users from one AD group to another and there was no way I was going to do that manually.  So I started looking in to what PowerShell can do adn here is what I found:

Posted on August 3, 2012 at 11:19 by simon · Permalink · Leave a comment
In: AD, Power Shell · Tagged with: , , , ,

Cannot shrink transaction log SQL 2005

If you ever come across a MS SQL 2005 transaction log that refuses to shrink, this little bit of code might help you out.

Posted on July 28, 2012 at 20:12 by simon · Permalink · Leave a comment
In: SQL · Tagged with: , ,

Change DAG database Activation Preference

The ActivationPreference decides which server will hold the active database when you automatically rebalance the databases within a DAG using the Microsoft script:

Posted on July 28, 2012 at 18:27 by simon · Permalink · One Comment
In: Exchange 2010 · Tagged with: 

Raspberry Pi – first boot

Today I finally had a chance to burn a Linux image to an SD card and boot up my Raspberry Pi.

Posted on July 20, 2012 at 23:00 by simon · Permalink · Leave a comment
In: Hardware, Raspberry Pi · Tagged with: , ,

Exchange 2010 PowerShell Tips & Snippets

This is a page of various Exchange 2010 Powershell one liners that I use fairly often or want quick access to.

Posted on July 16, 2012 at 20:11 by simon · Permalink · Leave a comment
In: Exchange 2010 · Tagged with: , , , , , , ,