DevOps – Configuration Management & Chef

I didn’t realise it but I think I’ve been waiting for this, I was very fortunate enough to get on the virtualisation bandwagon with VMware ESX 2. I remember seeing that for the first time and thinking this is something special, well for me lightening strikes twice and its configuration management. I think its because
Continue reading DevOps – Configuration Management & Chef

Quickly Grab the first IP Address from a Virtual Machine

I needed to quickly grab the IP addresses for the VM’s registered within a vCenter, so this is code I used within PowerCli session

There are a couple of caveats with this. I only really need to know there servers that where powered of, I’m also only outputting the first address registered by the
Continue reading Quickly Grab the first IP Address from a Virtual Machine

Searching Active Directory for Unused Accounts

Using PowerShell to search Active Directory is pretty straight forward. Below are some working examples You’ll need to have the ActiveDirectory Module loaded to get access to the “Get-ADuser” cmdlet This script will search for all enabled user accounts that haven’t set their Password in 90 Day

This script whilst similar to the first
Continue reading Searching Active Directory for Unused Accounts

Quickly grab the ESX and vCenter Version and Build Numbers

Sometimes you just need to quickly grab the Version and Build numbers for both your hosts and management vCenters. This script will use the PowerShell technique of Splatting to grab the version and build numbers for each ESX hosts connected within the PowerCLI session.

Disable Server Manager from automatically starting

It took me a while to get to know Server Manager it can be very powerfull my only problem is that I would prefer it not to automatically lunch at logon. Here is how you can disable it yourself. PowerShell

GUI This menu box is found within the Server Manager properties under the manage
Continue reading Disable Server Manager from automatically starting