Skip to content
This repository was archived by the owner on Apr 21, 2020. It is now read-only.

Commit 4942613

Browse files
committed
Completed removal of Outlook Anywhere auth config
1 parent 1641644 commit 4942613

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ConfigureExchangeURLs.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ The internal namespace you are using.
2323
.PARAMETER ExternalURL
2424
The external namespace you are using.
2525
26-
.PARAMETER DefaultAuth
27-
The default authentication method to set for Outlook Anywhere. Defaults to NTLM.
28-
2926
.PARAMETER InternalSSL
3027
Specifies the internal SSL requirement for Outlook Anywhere. Defaults to True (SSL required).
3128
@@ -86,7 +83,7 @@ V1.00, 13/11/2014 - Initial version
8683
V1.01, 26/06/2015 - Added MAPI/HTTP URL configuration
8784
V1.02, 27/08/2015 - Improved error handling, can now specify multiple servers to configure at once.
8885
V1.03, 09/09/2015 - ExternalURL can now be $null
89-
V1.04, 19/09/2016 - Removed DefaultAuth option as it is not required for standard configs
86+
V1.04, 17/11/2016 - Removed Outlook Anywhere auth settings, script now sets URLs only
9087
#>
9188

9289
#requires -version 2
@@ -147,7 +144,10 @@ Process {
147144
Write-Host "`r`n"
148145

149146
Write-Host "Configuring Outlook Anywhere URLs"
150-
Get-OutlookAnywhere -Server $i | Set-OutlookAnywhere -ExternalHostname $externalurl -InternalHostname $internalurl -ExternalClientsRequireSsl $ExternalSSL -InternalClientsRequireSsl $InternalSSL
147+
$OutlookAnywhere = Get-OutlookAnywhere -Server $i
148+
$OutlookAnywhere | Set-OutlookAnywhere -ExternalHostname $externalurl -InternalHostname $internalurl `
149+
-ExternalClientsRequireSsl $ExternalSSL -InternalClientsRequireSsl $InternalSSL `
150+
-ExternalClientAuthenticationMethod $OutlookAnywhere.ExternalClientAuthenticationMethod
151151

152152
if ($externalurl -eq "")
153153
{

0 commit comments

Comments
 (0)