| Ultan's profileTHIS SITE HAS MOVEDPhotosBlogLists | Help |
|
7/15/2008 Script to list the top 10 mailbox user on your exchange 2007 serverHere is a PowerShell script to identify the top 10 users who have the biggest mailbox on your Exchange 2007 server and output the result to Internet Explorer. 7/14/2008 VMware's File Extensions ExplainedIf you use VMware in virtually any of its flavors, then you've probably become familiar with the list of files created in each folder you create for a virtual machine. Those files are used by the software to process the running of each virtual machine. But what exactly is each file for? What does each do? Let's take a few minutes to look at the files, and specifically the file extensions, that you'll see within each virtual machine's folder to help you understand the role of each: .VMDK -- These files are the actual hard disk of the virtual machine itself, and tend to be the largest file within the folder. You can consider the size of this file to be roughly equivalent to the size of either the disk itself (if you've chosen to use preallocated disks) or the size of the data currently stored on that disk (if you use growable disks). .NVRAM -- Consider this file the BIOS of the virtual machine. .VMX -- With typically one VMX file per folder, this file holds the configuration information for the virtual machine in a text format. Unlike almost all the other files you'll see, these files can be edited using any text editing program, a process that is actually required for some functionality that is not exposed in the GUI. .VMXF -- This file, in XML format, includes additional information about the virtual machine if it has been added to a team. If a machine has been added to a team and then later removed, this file remains resident. This file can also be opened and read in a text editor. .VMTM -- For virtual machines actively participating in a team, this file stores information about that team membership. .VMEM -- These files, which contain a backup of the VMs paging file, are typically very small or non-existent when the virtual machine is powered off, but grow immediately to the size of configured RAM when the machine is powered on. .VMSN and .VMSD -- When snapshots are created for a virtual machine, these files are created to host the state of the virtual machine. The VMSN file stores the running state of the machine, what you could consider the "delta" between the VMDK at the point of the snapshot and what has been processed up until the present time. The VMSD stores information and metadata about the snapshot itself. .VMSS -- If you've suspected the state of your machine, this file contains the suspended state of that machine. These files typically only appear when virtual machines have been suspended. Depending on the VMware product you use or the platform upon which it resides, these files may be slightly different. However, these files are mostly the same across all versions of VMware's products.
Credit: Greg Shields. Exchange 2007 Virtualization Support?Neither Exchange 2007 nor Exchange 2007 SP1 is supported in production in a virtual environment. However, as stated previously, Microsoft Virtual Server is a good environment for training, labs, and demos. Exchange 2007 and Exchange 2007 SP1 are supported in production environments using only the 64-bit version of Exchange 2007, and currently neither Microsoft Virtual Server nor Microsoft Virtual PC supports 64-bit guest systems. Exchange 2007 and Exchange 2007 SP1 are also not supported in production in a virtual environment using virtualization software that is not Microsoft software. For details about the Microsoft support policy for third-party virtualization software, see Microsoft Knowledge Base article 897615, Support policy for Microsoft software running in non-Microsoft hardware virtualization software. What's missing in the 32bit Version of Exchange 2007In addition to the missing Exchange Management Console interface for entering a product key as described in "Evaluations and Product Keys" later in this topic, two other features are not available in the 32-bit version of Exchange 2007:
Is Exchange support in VM's?Microsoft supports Exchange Server 2003 running on hardware virtualization software (virtual machines) only when all the following conditions are true: • The hardware virtualization operating system is Virtual Server 2005 R2 or a later version. • The version of Exchange Server that is running on the virtual machine is Microsoft Exchange Server 2003 Service Pack 2 (SP2) or a later version. • The Microsoft Virtual Server 2005 R2 Virtual Machine Additions are installed on the guest operating system. • Exchange Server 2003 is configured as a stand-alone server, not as part of a Windows cluster. • The SCSI driver that is installed on the guest operating system is the Microsoft Virtual Machine PCI SCSI Controller driver. • The virtual hard disk Undo feature is not enabled. Do I really need that other SMTP connector??Reasons to create an SMTP connector include: • You are connecting to a Microsoft Exchange Server 5.5 computer in another routing group (site), and want to use SMTP. • You want to configure either server-side or client-side ETRN/TURN. • You want either to send or not to send ETRN/TURN. • You want to request ETRN/TURN when sending messages. • You want to request ETRN/TURN from different servers. • You want to configure outbound security, and to do it one time and affect many outbound servers. • You want to permit high, normal, or low message priorities for a domain. • You want to permit system or non-system messages. • You want to schedule the SMTP connector. • You want to use different delivery times for oversize messages. • You want to queue mail for remote triggered delivery. • You want to send HELO instead of EHLO. • You want to specify a specific address space. • You want to set delivery restrictions. ETRN and TURN???Controlling the flow of messages from an ISP or Smart Host using commands should be disabled from the Advanced tab of the connector if they Alternately, the SMTP connector can be set up to wait for another SMTP host to If ETRN/TURN support is required, the use of TURN with basic authentication plus Bulk Create Managed Folders and Associate them with a Managed Folder Policy and All UsersThis script takes a CSV file and uses the entries in the columns to create managed folders and a managed folder mailbox policy. It then sets the created policy to all mailboxes. Usage Save the script code below into a simple text file and name it ManagedFolderSetup.msh. Open up the Exchange Management Shell and navigate to the directory containing the file you just created. Type:
Ensure the path specified for the CSV file is correct. Sample Script$newManagedFolders = @() ## Name of the managed folder mailbox policy to be created - change this in your script if(!($args[0])) $data= import-csv -path $args[0] ## Create Managed folder $newFolder = Get-ManagedFolder | where {$_.Name -eq $i.Folder} write-host "Below Managed folders already exist:" write-host "Succesfully created below Managed folders:" ## Create a Managed folder mailbox policy $newPolicy = New-ManagedFolderMailboxPolicy -Name $managedMailboxPolicy -ManagedFolderLinks $managedFolderLinks ## Set the created managed folder mailbox policy to all mailboxes Support for Logical Units Larger than 2 TBAn important piece of info for anyone looking to attach storage to a server in excess of 2TB; With Windows Server 2003 Service Pack 1 (SP1) and Windows XP 64-bit Edition (x64), these limits have changed. Microsoft added support for 64-bit block numbers in the disk/class layer, using the new SCSI Commands included in the SCSI-3 Block Commands-2 command set. Microsoft also enabled GPT support for all Windows Server 2003 SP1 platforms. With this change, for example, a snapshot of a GPT partition on an Itanium-based machine can now be transported to a 32-bit machine for data mining or archiving purposes. The new limits are as follows:
Note: Disk devices with more than 2 TB of disk space must be converted to GPT format for all of the disk space to be usable. If the device uses MBR format, the disk space beyond 2 TB will be unusable. See more at: http://www.microsoft.com/whdc/device/storage/LUN_SP1.mspx#EFB Installing Exchange 2007 (Part 2)IntroductionInstalling Exchange 2007 is just as easy as previous versions, and once you have prepped AD, the rest is pretty straight-forward. That doesn’t mean you should throw in the CD and start clicking Next! Be sure to review the prerequisites in the first part of this series to reduce any confusion that may lead to errors or worse. GUI InstallationWith all the prerequisites taken care of we can begin the Exchange 2007 installation. The GUI-based installation is pretty straightforward. Insert the CD and run Setup.exe from the root of the disc. You will need certain permissions depending on your current configuration and how you prepared the domain. You will need Enterprise and Local Administrator privileges, and if you have not already prepared the domain you will also need Schema Administrator permissions as well. If you already have an Exchange 2007 server in the domain you will also need to be a member of the Exchange Organization Administrator group. The Welcome screen will appear and you will see right away if you have the required software prerequisites. Figure 1 shows that the .NET Framework 2.0 is installed (it is grayed out) and MMC 3.0 is also installed but Microsoft Shell (MSH) is missing. If you are missing either of these components, you can simply click on the item to install it.
Once the install wizard starts you can read over the Introduction then read and accept the EULA. Next you have the option of enabling Error Reporting, make your choice and then click next. You will be given two install choices; Typical and Custom (see Figure 2). The typical install will install all the roles with the exception of the Edge Transport role. If you wish to customize the installation, choose the Custom install option. Here you can also change the install location if you wish to do so.
When you choose the custom option and click next you will be given a number of selections and you can choose which role, or roles, to install. You can also select to install Active or Passive Mailbox server clusters, or just install the Management Console (see Figure 3).
Before you can continue, you will have to provide the name of the Exchange Organization and be asked if you have any computers running versions of Outlook 2003 or earlier (see Figure 4). This option will create Public Folders if you select yes, but choosing no will not create any Public folders.
You will need to be aware of a few things when choosing what roles to install where. If you are running a multi-site AD environment you need to install a Hub Transport and Mailbox server in each AD Site. You also must install a Client Access server in each site that contains a Mailbox server. Finally, all the roles can be installed on the same server (except Edge Transport) or on individual servers. The installation will now run a set of pre-checks to determine if the domain and server are ready to accept an Exchange 2007 server. Figure 5 shows an example of some common errors you will see if IIS is missing, or if the domain is not at the required functional level (notice the Install button is grayed out).
When all of the Readiness Checks pass, the Install button will appear and you can press it to start the installation (see Figure 6).
You can watch the install progress and depending on the roles installed it can take a while. Once complete, click Finish and you are ready to begin configuring your Exchange 2007 server (see Figure 7).
CLI and Unattended InstallationExchange 2007 also supports installation from a command line interface (CLI), which can be used to perform unattended installations as well. There are a number of switches that are required depending on the type of Exchange 2007 installation you are performing.
The basic syntax of a CLI or unattended installation is as follows: Setup.exe /console /roles:<server roles to install> /mode:<setup mode> [/targetdir:<destination folder>] [/prepareAD] [/RecoverServer] [/?] To install Exchange 2007 with the Bridgehead, Client Access and Mailbox server roles, you would use the following from a command prompt: Setup.exe /roles:ET,MB,CA or Setup.exe /r:E,M,C Let’s say you wanted to install a Gateway server and put the program files in a directory on the D drive called E2007 and you wanted to read and write from DC1; you would use the following switches with Setup.exe: Setup.exe /r:E /targetdir:D:\E2007 /dc:dc1.thelazyadmin.lab This last example demonstrates what command you would use to install a new Exchange 2007 server during a disaster recovery operation. Setup.exe /mode:recoverserver Once the command is executed, setup will proceed to determine if .NET 2.0 Framework, MMC 3.0 and the Microsoft Shell is installed. If any of the other prerequisite checks fail, setup will stop and display an error message. Verifying InstallationOnce you have completed the installation, you should verify that everything completed successfully. To do this there are a few things you can check out. The first thing you can do is open up MSH and run the following command which will list the roles installed (see Figure 8) Get-ExchangeServer
Next look in the Application Log in Event Viewer for event ID 1003 and 1004 which verify that install was successful. Finally there are a number of log files created that you can browse to verify that the install was successful and if it was not, what might be wrong.
ConclusionThere are many possible configuration and installation options in Exchange 2007. The command line interface offers a powerful and scriptable option to deploy Exchange 2007 servers with minimal administrative interaction. Both install options also perform a number of prerequisite checks to ensure your Exchange 2007 installation starts off on the right foot. http://www.msexchange.org/tutorials/Why-64-Bit-Good-E12.html http://www.msexchange.org/tutorials/Exchange-12-Monad-based-Exchange-Management-Shell.html Installing Exchange 2007 (Part 1)Installing Exchange has been a pretty straightforward task; however there have been some changes in the install process for Exchange 2007. Part one of this series will cover the prerequisites required and preparation of Active Directory. IntroductionInstalling previous versions of Exchange was never a difficult task as long as you were prepared. You would install the required IIS components then prep the domain and you were ready to go. Exchange 2007 changes the installation procedure, but it is still as easy as previous versions, as long as you understand the differences. System-wide RequirementsAs with any application, Exchange 2007 has a certain set of requirements that must be met before you can proceed with the installation and these requirements can be spilt into two types, system-wide and server-specific. System-wide requirements ensure that your Active Directory is ready to accept Exchange 2007 servers and server-specific requirements ensure that the server that Exchange 2007 will be installed on can support it. One of the bigger requirements is that Exchange 2007 requires the domain functional level to be at Windows 2000 native mode or higher (see figure 1). On top of that Exchange 2007 also requires that the Schema master and the Global Catalog servers run Windows Server 2003 with SP1 applied. It goes without saying that you also need a functional DNS infrastructure in place. If you are installing Exchange 2007 into an existing organization, the Exchange mode must be set to native-mode. This means no Exchange 5.5 servers anywhere in the Exchange organization. If you still have any Exchange 5.5 servers, you will need to upgrade them to Exchange 2000/2003 or remove them completely before proceeding with the installation of Exchange 2007.
As with Exchange 2000 and 2003, the forest and domain needs to be prepared with schema extensions. However, unlike the previous versions, Active Directory does not need to be prepped beforehand, it is done automatically during setup, but the option does exist to allow for manual schema upgrades. During the setup process the server will connect to the Schema Master in an effort to update the schema and this requires that the Schema Master is available and that the account you are running setup with has permissions to modify the schema. If you wish to prep the domain manually, you can do so with the /PrepareAD switch on any server in the same domain that the Schema Master is in but it is recommended to do this on the Schema Master. Once you have completed this, you will have to wait for the schema updates to replicate throughout the forest before you install any additional Exchange 2007 servers in the organization. Finally, as with all Exchange installations, you require certain administrative rights in order to install an Exchange 2007 server. The following is a list of required permissions required to install an Exchange 2007 server into a new, or existing organization.
Server-specific RequirementsServer-specific requirements for Exchange 2007 include both hardware and software. In order to install Exchange 2007 the server must be running Windows Server 2003 x64 and have SP1 installed. You must also install the .NET 2.0 Framework and MMC 3.0 but if you do not have these two components installed, you can install them during setup. Exchange 2007’s hardware requirements have been upgraded from Exchange 2003 with the biggest change being the requirement for x64 CPUs. The minimum hardware requirements are as follows:
Exchange has always relied on IIS services, but Exchange 2007 requires less out of IIS and in some cases, IIS is not required at all. Exchange 2007 no longer requires the IIS SMTP and NNTP services installed as it has its own built in SMTP server and, for messages being transported between Exchange 2007 servers with the organization, uses MAPI. Depending on the role or roles installed on the server, different components are required. The following chart shows which additional services each role requires.
Preparing Active DirectoryAs previously mentioned, the installer will do all the AD preparation automatically. That does not mean that you cannot do it manually, in fact I’d suggest doing it manually on the Schema Master while it is disconnected from the domain. That way, if something goes wrong while the schema is being extended you can simply blow away the server and seize the role on a different server. Preparing Active Directory manually offers more options than before and there maybe more commands for you to run, depending on your current environment. If you are currently running any Exchange 2000 or 2003 server the first command you must run is
This command must be run under an account with Exchange Admins permissions and the domain must be able to communicate with all other domains in the forest while being run. Finally, you will need to wait for the permissions to replicate before continuing. The next command will prepare the schema, and this means the account you run this command from, must be a member of the Schema Admins group as well as the Exchange Admins group. Setup.com /PrepareSchema
Figure 2: PrepareSchema This command must also be run in the domain that contains the forests Schema Master, and again, you should wait for the changes to replicate throughout AD before continuing. Replmon, from the Support Tools, is a great tool you can use to determine when the changes have been replicated. The third command that you need to run preps the current domain, adds the Exchange Universal Security Groups and configures the Exchange objects with AD. The command Setup.com /PrepareAD
This command requires different permissions, depending on your current configuration. You need to run this with Enterprise Admin privileges, and if you have any Exchange 2003 servers within your current organization, you need to be a member of the Exchange Organization Administrators group. Again you will need to wait for the changes to replicate before proceeding. You can check for this by looking for the following new Security Groups in the root domain in an OU called Exchange Universal Security Groups (EUSG).
The final step is optional and is only required to run if you have multiple domains within the forest. This command configures the other domain, or domains, in the forest. It does not need to be run on the domain that you run /PrepareAD in, but any additional domains will need this command run. You have three command line options with this command.
Once you have completed all the commands, you can verify that you are ready to start installing Exchange 2007 by looking for the following.
I'm Back...Its being a while… crazy work schedule… Now getting ready to leave again for 3 weeks in London. Once that is complete i will working on forming the new South East Microsoft Messaging User Group. If you are interested in being part of this venture please let me know. Right now (thanks to the support of Nathan Winters from (www.mmmug.com) we are hoping to get support or backing from Microsoft in the South East to get this of the ground. Let me know if you are interested in helping or being part of the group by leaving a comment here. Thanks! iSkootI only came across this product recently; http://www.iskoot.com/index.php A great utility for any skype user.. VOIP on your cell phone! You can install right to your cell phone (they give a complete list of all supported cell phones on their website) and make skype calls from your cell no matter where you are! Check out all the details on their website… It's a GIRL!Off Topic; but I cannot go without mentioning… My wife “Allison” gave birth to a new baby girl this past weekend. We are now the proud parents of “Anna Elizabeth Kinahan” & she is now a baby sister to Evin. Born on 6/28/08 weighing 7lbs 12oz & 18.1? long. Welcome to the world sweetheart! Exchange 2007 Desktop WallpaperClick on the link below if you would like a copy of the Microsoft Exchange Server 2007 Desktop Wallpaper... http://msexchangeteam.com/attachment/427824.ashx Courtesy of the good folks at msexchangeteam.com |
|
|