How to find which user has a particular email address in Exchange 2007 and Exchange 2010

I was asked to find out which user in the organisation was receiving the info@ email for my company the other day. Without wanting to go and check on each user manually, you can simply run the command below form the Exchange Powershell command line.

Exchange 2007 and Exchange 2010: – simply replace email@domain.com with the email address you are looking for.

get-recipient | where {$_.emailaddresses -match “email@domain.com”} | select name,emailaddresses

 

 

How to fix "The imported project "C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets" was not found" in Team City

I was building a new Team City server and was getting the following error when trying to run a build.

“The imported project “C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets” was not found”

You don’t want to have to install Visual Studio to be eble to run a simple build, so that answer is to download and install the Windows SDK for Windows 7 .

 

How to administer SQLExpress using Microsft SQL Server Management Studio

All you need to do it put in the server name followed by sqlexpress
EG:   sqlserversqlexpress and you can connect and manage it.

You will need to know a local password user such as SA for SQL authentication, or be logged into the server with a Windows  administrator account that the same on both the management server and the SQLexpress server if you use Windows authentication.

How to install LAMP on Ubuntu

I have been looking at the easiest way to get a LAMP server up and running in minutes.

I found the following command  and it works like a charm!

sudo apt-get  install lamp-server^ phpmyadmin

 

Follow the on screen prompts and you are good to go!

How to change the IP address on Ubuntu Linux

Type the following command   sudo nano /etc/network/interfaces

Find auto eth0 and edit the lines below.

If it is set for DHCP and you want to change it, change the following lines from:

iface eth0 inet dhcp

To something like this for example: (please use your own network IP addresses , DNS servers and domain name where applicable)

iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
dns-nameservers 192.168.1.250 192.168.1.251
dns-search mydomainname.com