Documente Academic
Documente Profesional
Documente Cultură
script
The current article is dedicated to the presentation of a little PowerShell script that I
have written that was created to simplify the task of the preparation of existing
Exchange infrastructure to the Exchange 2013 coexistence environment.
The PowerShell script includes options that will help us to configure Exchange CAS
server URL address, authentication type and more and additionally, view and
export information about the existing Exchange infrastructure.
Regarding the use of the PowerShell script, my main advice is: Be careful.
The changes\update that the PowerShell command do to the existing Exchange
CAS server could be quite dramatic. Before you use the PowerShell command that
make the update please look at the behind the scenes of the PowerShell script
and verify that you are completely understood each of the many selections.
Page 2 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 3 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 4 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 5 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
There are four main sections, which are painted in a blow. Each of the sections
relates to a different administrative task that relates to the required Exchange CAS
servers preparations for the Exchange 2013 coexistence environment.
Page 6 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
The information that will be displayed will include information about the following
Exchange services:
Exchange web service
Exchange OWA
Exchange ECP
Exchange ActiveSync
Exchange OAB
AutodiscoverServiceInternalUri
Page 7 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
The result is divided into dedicated sections, for each of the Exchange CAS server
services such as: Exchange web service, etc.
Each of the sections, include information about all the available Exchange CAS
servers. In our specific scenario, we can see information about three Exchange CAS
servers: STS, EX01 and EX02
The HTML reports will be saved in: C:\INFO\Exchange URL address and Outlook
Anywhere information
HTML reports for all of the Exchange CAS servers or a specific Exchange CAS
server
In the following screenshot, we can see an example in the HTML reports that
include information about all the existing Exchange CAS servers named: Exchange
web services Unified report.html and two additional HTML reports that we
created using Menu 2 options, that enable us to display information about a
specific Exchange CAS server (in our scenario, EX01 and EX02).
Page 8 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
In the following screenshot, we can see an Example of the HTML Exchange CAS
server report.
Page 9 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Exchange OWA
Exchange ECP
Page 10 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Exchange ActiveSync
In the following screenshot, we can see that we have two passable options:
Using the same namespace for the external and the internal Exchange CAS services
(option A) or choose to implement an option in which we use different namespace
for the internal verse external URL address (option B).
Example: in the following scenario, we choose option A, in which we will use the
same namespace for the external + internal URL address.
In our example, we choose to configure Exchange CAS server named: EX02 and the
host name whom we will use is: mail.o365info.com
Page 11 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
In the following screenshot, we can see the results: the PowerShell command will
use the host name mail.o365info.com for constricting the URL address of the
different Exchange CAS server services such as the Exchange web services URL
address: https://mail.o365info.com/EWS/Exchange.asmx and so on.
The output from the PowerShell command will inform as if the operation was
completed successfully and displays the value in the URL address.
Page 12 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 13 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
The first parameter is the Exchange CAS server whom we want to set his
Autodiscover name: EX02
The second parameter, is the Autodiscover address. In our
example: autodiscover.o365info.com
Page 14 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
In the following screenshot, we can see the results. We can see the Outlook
Anywhere configuration setting of all the Exchange CAS servers.
In our example, we can see the Outlook Anywhere setting of an Exchange CAS
server named: STS and Exchange CAS server named: EX02
Page 15 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 16 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Exchange client
authentication
method (protocol)
SSL off-loading
In the following screenshot, we can see an example to the parameters that we use
of the PowerShell command.
The first parameter is the Exchange CAS server whom we ask to address. In our
example, we will enable the Outlook Anywhere setting on the Exchange CAS
server named: EX02
The second parameter, is the Host name (RPC Endpoint name) that we want to
assign to the Exchange CAS server. In our example, we will use the host name:
mail.o365info.com
Page 17 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
In the following screenshot, we can see the result of the enable Outlook Anywhere
setting command.
We can see different parameter such as the: external host name (the RPC Endpoint
name) and the different authentication methods.
Page 18 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Page 19 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
IIS Authentication
Method
A requirement for
SSL
The value of the Requirement for SSL will be set to: True
Note The value will be configured automatically by the
PowerShell command.
SSL off-loading
Page 20 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Exchange client
authentication
method (protocol)
IIS Authentication
Method
A requirement for
SSL
The value of the Requirement for SSL will be set to: True
SSL off-loading
The following command uses for setting the authentication setting of Exchange CAS
2013 in the following way:
Page 21 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script
Download the:
Manage Exchange CAS server
settings.ps1 PowerShell script
Additional reading
Script for collecting information about existing Exchange infrastructure
Page 22 of 22 | Part 15#23 | Manage legacy Exchange URL address using a PowerShell
script