Start and stop ESXi VMs from console

esx

Sometimes you don’t have VMware vSphere Client handy, or you might need to restart a server remotely via SSH. In these cases it’s great to be able to turn virtual machines on and off via the command line.

Read on for a brief overview. Read the rest of this post »

Posted on March 22, 2014 at 0:48 by simon · Permalink · 2 Comments
In: Vmware · Tagged with: 

Which version of Ubuntu am I running

ubuntuTo find out which version Ubuntu is installed simply type the following in to a console: Read the rest of this post »

Posted on January 12, 2014 at 1:22 by simon · Permalink · Leave a comment
In: Linux

CentOS Fixing Error writing fstab Read-only file system

If you’ve accidentally broken your /etc/fstab file and recentoslogo-200booted and found yourself in the repair console.   You might run into some issues while trying to fix it. Read the rest of this post »

Posted on January 5, 2014 at 22:06 by simon · Permalink · Leave a comment
In: Linux

How to add a new user to vCenter Server Virtual Appliance

If you use vSphere 5 vCenter Server Virtual Appliance and you don’t have, or chose not to use Active Directory for user access then there is another way to add users to the appliance.

Read the rest of this post »

Posted on October 31, 2013 at 23:30 by simon · Permalink · 7 Comments
In: Vmware · Tagged with: , , ,

Change Exchange mailbox type from shared to user mailbox

Exchange 2010When migrating many mailboxes to an Exchange 2010 system, or after an existing object has been mail enabled you may find you have some mailboxes that are set as type ‘Shared’ even though they belong to a single user.  You can see this either through the Exchange Management Console (EMC) by applying a filter of Recipient Type = Shared, or by running the following command in the Exchange Management Shell (EMS): Read the rest of this post »

Posted on October 1, 2013 at 23:30 by simon · Permalink · Leave a comment
In: Exchange 2010

Disable complex password requirement on Hyper-V server 2012

hyper-v2012I recently experimented with Hyper-V 2012 and found there was no easy way to disable complex passwords, so after searching the net for a while I came across a nice solution that didn’t involve joining and leaving domains and interfering with group policy.  Here it is –

Read the rest of this post »

Posted on June 12, 2013 at 23:22 by simon · Permalink · 2 Comments
In: Windows · Tagged with: ,

Grant a MS SQL login Read Only access to ALL databases

 Here is a SQL code snippet I used today that loops through all the databases on a server and creates a SQL script that will give a user Read Only access to all databases (including system databases).

  Read the rest of this post »

Posted on June 3, 2013 at 20:16 by simon · Permalink · Leave a comment
In: SQL

Using DD-WRT on an Asus RT-N16 router to share a 3 MIFI Internet connection on LAN

Yes a snappy title!  I’ve spent so long getting this configuration to work that I have to save the info here for my own future reference.Three MiFi  I originally tried to use the latest firmwares and spent a couple of frustrating day’s trying to get it working.  I eventually gave up and tried the specifically mentioned firmware below and it worked as expected.

DD-WRT is an open source firmware that can be installed on many different routers.  It opens a whole world of possibilities and configuration options, turning a mediocre router in to something that could cost a lot more.

ASUS RT-N16 is a wireless router that is considered particularly good to use with DD-WRT, mainly because it has masses of internal memory which allows you to install the biggest versions of DD-WRT which gives you all the bells and whistles such as OpenVPN, USB support, Hotspot etc.

MIFI is a small portable Internet connected Access Point that connects via 3G/4G.  Mine is provided by the 3 network and I can get better speeds using the MIFI than i can from my home ADSL connection.  I use the MIFI as a backup internet connection or for when I’m away from home.  I wanted a way to share that MIFI connection with my home wired LAN, and DD-WRT is the way to do it.

Read the rest of this post »

Posted on April 13, 2013 at 1:42 by simon · Permalink · 4 Comments
In: Hardware

How to clear down winsxs folder in Windows 7

MS-DOS2If you have found that you have a folder called winsxs that is eating up gigs and gigs of your C drive, then this command line can free up several of those valuable gigs.

 

 

Read the rest of this post »

Posted on April 11, 2013 at 0:40 by simon · Permalink · One Comment
In: Windows · Tagged with: ,

Simple script to backup all databases at once

Script to backup all non system databases

To backup all your MS SQL databases quickly on a SQL instance use the following script in a new query window.

You must change the “SET @path” string to a suitable location. Read the rest of this post »

Posted on March 21, 2013 at 20:00 by simon · Permalink · Leave a comment
In: SQL · Tagged with: , , ,