Sunday, September 14, 2008

ESX1 and Virtualizations 64bit Exchange for LAB


I am not going to write how much I am impressed with ESXI here at my blog. One thing I would say this is the great software (OS) me and many of my students have been waiting for to get more hands on ESX and Microsoft technologies.

You may think what is the connection VMware and Microsoft and I am about the explain to you. Virtualization technologies gone far beyond any other technologies and become one of the most skills set in the IT market USA as far as I can tell.

Knowing ESX and the technology behind is the way to corporate work and further any work place pays good $$$$. So the problem is that there was no easy way to learn the technology in the past unless you already work for an enterprise and have ESX servers, you would learn at that point, and this was the case for my learning experience.

So what has changed? VMware released new version call ESXI (Free) believe or not and almost concept same as ESX server. Installing is insane crazy, anyone who can boot from CD-room will be able to install in on any decent server. After getting your ESXI server up and running install windows 2003 and 2008 servers within the ESXI server. (You are limited to your HD space and amount of memory on the ESXI servers)

You don't need expensive server, you don't need RAID controller, and all you need is decent server with lots of RAM and HD space to create a great LAB for yourself.

Download the ESXI software from VMware website and install it on any server you have (most of the Dell servers are good to go). Microsoft has Hyper but being honest it is so easy to install ESXI and the proven UNIX reliability will be hard to defeat in my humble opinion. The foot print of ESXI is incredible.

If you have server laying around don't lose time go get started, you will understand what I mean when you get your hands on the ESXI.

Issue:

The CPU of the host is incompatible with the CPU feature

Solution:

Enable Virtualization Technology" in the server BIOS.

Getting following erros

  • The CPU of the host is incompatible with the CPU feature requirement of the virtual machine; problem detected at CPU id level 0×80000001 regsiter edx.
  • 64BIT problems, you did install ESX and cannot install the 64 bit OS to run exchange 2007?
  • if you have created a Windows 64bit virtual machine you need to ensure that you have enabled "Virtualization Technology" in the host system BIOS.
  • This feature is disabled by default so needs to be manually enabled.
  • The CPU of the host is incompatible with the CPU feature requirement of the virtual machine; problem detected at CPU id level 0×80000001 regsiter edx.


--Oz Ozugurlu

MVP (Exchange) MCITP (EMA),

MCITP (SA) MCSE 2003, M+, S+,

MCDST, Security+, Project +, Server +

Blog: http://www.smtp25.blogspot.com

Friday, September 5, 2008

Creating BULK Users in Exchange 2007 for Testing




This cannot get any easier than what it is by using EMS (management shell). I remember this being huge deal and people writing VB scripts over long lines to get this done. Here is one line CMDLET will allow the creation test user on the fly, so follow the easy steps below, you really don't need to know any coding expect the skill changing one section ( your exchange database location) and pressing enter from EMS.

  • Log into your test exchange server
  • Open EMS
  • Copy and paste following command into shell window, don't forget to change the database name to your own, and don't forget the last closing bracket there.

After Database I have included my Storage group name and the database name so mine is, SG1-MB1 replaces this with yours.

If you don't know what it is type the following into shell window?






Get-MailboxDatabase


1..100 | ForEach { Net User "User$_" MyPassword=01 /ADD /Domain; Enable-Mailbox "User$_" -Database SG1-MB1 }


1..100 ForEach { Net User "User$_" MyPassword=01 /ADD /Domain; Enable-Mailbox "User$_" -Database SG1-MB1 }


Go back to ESM and under recipient configuration click on mailboxes you will see all new users

You want more tips, click the link below, and dont forget to pray for MSExchange team (-: , they realy have done great job to make things easy for us.

MS Link

--Oz Ozugurlu

MVP (Exchange) MCITP (EMA),

MCITP (SA) MCSE 2003, M+, S+,

MCDST, Security+, Project +, Server +

Blog: http://www.smtp25.blogspot.com





Thursday, September 4, 2008

How to Remove Mailbox Permissions from Shell




We talked about granting user A full mailbox access on user B mailbox, and this can be done via GUI from EMC or EMS (management console and Shell). In below example we also are going to remove the permissions we assign to the user mailbox and we will see the current configuration as well

Sales mailbox


Get-MailboxPermission Sales


Remove permissions from Sales mailbox for user CaneT


Remove-MailboxPermission "Sales" -AccessRights FullAccess -user " CaneT "


Add mailbox permissions into Sales mailbox for user CaneT


Add-MailboxPermission "Sales" -AccessRights FullAccess -user " CaneT "



Also please see msexchangeteam Blog


#Move an individual mailbox
Move-Mailbox testmbx -targetdatabase "Mailbox Database"

# Move all mailboxes stored on a server to a target mailbox database
Get-Mailbox -server testserver Move-Mailbox -targetdatabase "Mailbox Database"

# Disable one individual mailbox
Disable-Mailbox testmbx

# Disable all mailboxes stored on a server
Get-Mailbox -server testserver Disable-Mailbox

# Remove one individual mailbox-enabled user
Remove-Mailbox testmbx

# Remove all mailbox-enabled users stored on a server
Get-Mailbox -server testserver Remove-Mailbox


--Oz Ozugurlu

MVP (Exchange) MCITP (EMA),

MCITP (SA) MCSE 2003, M+, S+,

MCDST, Security+, Project +, Server +

Blog: http://www.smtp25.blogspot.com

Wednesday, September 3, 2008

Full MailBox Permissions from Shell

Scenario:

User CaneT (Tony Cane) needs to have access to user Sales mailbox called "Sales" on Exchange 2007.

Solution:

Open EMS (Exchange Management Shell),

First we wanted to see the mailboxes and we will type following liner into shell window




Get-Mailbox

If we do as below we will get all the mailboxes starting with 3 letters defined with below parameters

Get-MailBox can*

We are giving full permissions to CaneT on the Sales mailbox with following command line


Add-MailboxPermission "Sales" -AccessRights FullAccess -user " CaneT "

If you go back to EMC, locate the Sales mailbox, you will verify the full mailbox access rights have been assigned to user CaneT

How to Allow Mailbox Access

How to Remove Mailbox Access Rights From Shell

--Oz Ozugurlu

MVP (Exchange) MCITP (EMA),

MCITP (SA) MCSE 2003, M+, S+,

MCDST, Security+, Project +, Server +

Blog: http://www.smtp25.blogspot.com

How to Grant Full Mailbox Permission on another Mailbox

Scenario:

User A (john) needs to have access to user B (HumanResource) mailbox in Exchange 2007. This is a command scenario many companies uses regular mailbox as Shared mailbox and multiple people needs to have access to this mailbox, most of the time by adding second mailbox from outlook application.

Solution:

Open EMC (Exchange Management console), go to Recipient configurations, click Fins on the right pane and type the user name B (HR) into the search window



Locate the user B (Human Resource) mailbox, and click on "Manage Full Access Permission"

  • Click ADD




Type the user name that you wish to grand access to (User A in our example), click on manage to finish

  • Full access rights have been assigned to user A

Now new HR employee John Stone has full mailbox access to HR shared mailbox called "HumanResorce" mailbox


--Oz Ozugurlu

MVP (Exchange) MCITP (EMA),

MCITP (SA) MCSE 2003, M+, S+,

MCDST, Security+, Project +, Server +

Blog: http://www.smtp25.blogspot.com