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 […]
In: Vmware · Tagged with: ESXi, esxupdate, vmware
Powershell NSLOOKUP
The following PowerShell one liners give you hostname to IP or vice versa.
In: Power Shell · Tagged with: dns, hostname, ip address, nslookup, PowerShell
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:
In: Power Shell · Tagged with: .NET, ip address, validate
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.
In: Linux · Tagged with: button, linux, titlebar, Ubuntu
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:
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:
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
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.
In: SQL · Tagged with: dbcc, sql, Transaction log
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:
In: Exchange 2010 · Tagged with: activationPreferencem DAG
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.
In: Hardware, Raspberry Pi · Tagged with: hardware, linux, Raspberry Pi
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.
In: Exchange 2010 · Tagged with: command line, DAG, database, Exchange, Exchange 2010, failover, PowerShell, tips
