How to Determine active mailboxes connected on Exchange Server 2010 Client Access

Here a very good script from Mike Pfeiffer quick way to check how many users connected to client access server using exchange 2010 monitor counters

We need to know how many users will get effected if we have a downtime, With the help of performance counters we can identify the no of users currently active in CAS servers RPC or OWA.

You can also go through a complete list of counters for exchange 2010 CAS and Mailbox

https://technet.microsoft.com/en-us/library/ff367877(v=exchg.141).aspx

function Get-CASActiveUsers {
[CmdletBinding()]
param(
[Parameter(Position=0, ParameterSetName=”Value”, Mandatory=$true)]
[String[]]$ComputerName,
[Parameter(Position=0, ParameterSetName=”Pipeline”, ValueFromPipelineByPropertyName=$true, Mandatory=$true)]
[String]$Name
)

process {
switch($PsCmdlet.ParameterSetName) {
“Value” {$servers = $ComputerName}
“Pipeline” {$servers = $Name}
}
$servers | %{
$RPC = Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName $_
$OWA = Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName $_
New-Object PSObject -Property @{
Server = $_
“RPC Client Access” = $RPC.CounterSamples[0].CookedValue
“Outlook Web App” = $OWA.CounterSamples[0].CookedValue
}
}
}
}

Copy it in the NotePad and save with PS1 format

Open the Exchange Management Shell

Here I have used dot sourced before the script and also there is space between dot and then location of your script otherwise it won’t work.

2

Advertisements

Exchange 2013 Jetstress Tool

Jetstress tool required to help performance and stability of a disk subsystem prior to putting an Exchange 2013 server into production.

Jetstress helps verify disk performance by simulating Exchange disk Input/Output (I/O) load. Specifically, Jetstress simulates the Exchange database and log file loads produced by a specific number of users.

Download this from below link

http://www.microsoft.com/en-us/download/details.aspx?id=36849

Support OS

Windows 2008 R2 , 2012.

 

 

 

 

Exchange Reports Tool for 2010, 2013, office365

Introducing Exchange Reports

It is mandatory on the part of an Exchange Administrator to be well-informed about every configuration on mailboxes, distribution groups in their Exchange Environment. Considering the huge volume of information to be tracked, this is easier said than done!

Exchange Reports with its built-in reports comes to your rescue!

This application requires .Net 4.0, Powershell 2.0 and Remote Powershell access to Exchange Server. It is tested on Windows 7, Windows 8 and Windows 2008 R2.

Download this tool.

http://exchangereports.get-mailbox.org/

Accessing OWA from Multiple Domain URL

If we got a requirement for allowing access  multi domain users to access OWA from different URL’s

Below is steps how you can implement more than one OWA & ECP on one Exchange 2013 server

Lets assign new ip for new website

82

Lets Copy the OWA & ECP folder from

OWA

C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OWA 

 to

C:\Program Files\Microsoft\Exchange Server\V15_Arabitpro\ClientAccess\OWA

 

ECP

C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ECP

to

C:\Program Files\Microsoft\Exchange Server\V15_Arabitpro\ClientAccess\ECP

85

Create new website from IIS  “Webmail

84

86

Give the Default path to “C:\Inetpub\wwwroot”  folder

Bind this with the following IP which we have assigned to 80 port as well 443

Now we are ready with the new site “webmail”

Under IIS Settings

ISAPI and CGI Restrictions

87

We need to  ALLOW the following  DLL file

C:\Program Files\Microsoft\Exchange Server\V15_Arabitpro\ClientAccess\Owa\auth\owaauth.dll

Create OWA & ECP Directory by using the following CMD using EMS

88

New-OwaVirtualDirectory -website “Webmail” -Path “C:\Program Files\Microsoft\Exchange Server\V15_Arabitpro\ClientAccess\Owa”

The warning indicates we need to create ECP Virtual Directory also in the same website

For ECP use the following

 

 

New-EcpVirtualDirectory -website “Webmail” -Path “C:\Program Files\Microsoft\Exchange Server\V15_Arabitpro\ClientAccess\ECP

 

You need to install Certificate for External Users with the new domain name

 

Login to EAC

Under Servers –> Virtual Directories –> select the webmail OWA and ECP check the authentication and set the new domain URL

 

90

Reset the IIS

93

 

Now you need to create accepted domain and Email policy for new domain

Under Mailflow –> Accepted Domains

94

91

here im https://mail.arabitpro.com/owa

92

Https://ex-15.test.com/owa

You are done with it.

Now we have users from different emails address accessing there mails from there own domain url’s

95

96

I hope the above information helpful for you thanks for viewing.

Move Database Path in Exchange 2013

Exchange 2013 has a limitation in moving the Database path location you can only use Exchange Management Shell to move the database and log file path, before we used to have an option to use EMC or EMS

Lets start using EMS

Create a separate partition for DB and Log files

79

Open EMS and check the current EDB & Log file Location by using CMD

74

Get-MailboxDatabase “database name” | FL Name,*path*

75

 

We are moving our current db path from C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0164909908\Mailbox Database 0164909908.edb   to  E:\DB01\Mailbox Database 0164909908.edb  

 

Use the following CMD  Move-databasepath

Move-databasepath -identity “Database Name” -EDBFilePath “C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0164909908\Mailbox Database 0164909908.edb” -LogFolderPath “E:\DB01”

80

Prompt you to confirm

The database gets dismount and Copied to new location

After moving verified its moved sucessfully

81

As you can see there EDB File path and Log File path has been changed to E:\DB01

you are done with this.

 

Thanks for viewing

 

 

 

 

 

 

 

 

 

New Look for Outlook Web App in Exchange 2013

Exchange 2013 brings new look to Outlook Web App previously know as Outlook Web Access

By default Outlook web app is enable for access users mailboxes from any web browsers

Overview of Web App

Same as before just need to type URL

Login to https://Server.domain.com/OWA

60

Outlook Web App TAB

  •  Mail
  • Calendar
  • People
  • Tasks

Offline Web Access

One  of the best features in the new OWA 2013 introduced by Microsoft  is called OWA offline   🙂

Now you Use Outlook Web App in Offline Mode

70

To use this Feature you need the following Compatible browsers:

  • Internet Explorer 10
  • Safari 15
  • Chrome 16
  • Mailbox Must be in Exchange 2013 Mailbox server
  • User Front End Server (CAS) Server should be Exchange 2013

While working offline you can managed all the folders

  • Inbox
  • Draft
  • Sub Folders
  • Contacts

We can take a Deep Dive Look in another Post

Options which previsouly not there

61

Account Information shows Mailbox Usage

62

Now you can see which group you own which was not there in Previous version

63

My Site mailbox option brings the Exchange as mail and Share Point as documents together

  • Easy to find your documents
  • Easily Drag and Drop your files
  • Easy to manage your Project files
  • Directly open share point site

64

Apps

New option for apps as you can add bing maps,and more apps from the office store

Exchange Administrators can use the Exchange Administration Center (EAC) to manage the apps available to users in the  organization. Users can then manage their apps. Administrators can also allow users to download apps
from Office.com

Also organizations can build up there own apps using standards-based technologies like HTML5, JavaScript, CSS3, and XML Delve into the app development lifecycle.

 

 

Configure Exchange 2013 Mail flow settings

Exchange 2013 has replace the server role of Hub Transport running on client access server

By default send connector is not configured you won’t be able to send mail to the Internet and external clients

Now lets start configuring Send Connector in Mailbox Server

Login to Exchange Admin Center

40

Go to Mail flow  –>  Send connectors –>  On the Send connectors page –>  click Add +

41

Specify the Name for the send connector  & Select the option Internet  Click Next

42

Select the default MX record associated with recipient domain is selected.

43

Click Add +  address space in the Fully Qualified Domain Name (FQDN) field, enter *. Click Save

Under Source server, click Add + Select the Mailbox Server role which will be used for sending emails via client access server

46

Click ok & Finish

47

Default Maximum Messagese size 10 MB

You can also increase it whatever you want just need to edit the connector option