Get-OwaVirtualDirectory -Server $env:computername | Set-OwaVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/owa" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/owa" -wa 0 Get-EcpVirtualDirectory -server $env:computername | Set-EcpVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/ecp" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/ecp" Get-WebServicesVirtualDirectory -server $env:computername | Set-WebServicesVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/EWS/Exchange.asmx" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/EWS/Exchange.asmx" ` -confirm:$false -force Get-ActiveSyncVirtualDirectory -Server $env:computername | Set-ActiveSyncVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/Microsoft-Server-ActiveSync" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/Microsoft-Server-ActiveSync" Get-OabVirtualDirectory -Server $env:computername | Set-OabVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/OAB" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/OAB" Get-MapiVirtualDirectory -Server $env:computername | Set-MapiVirtualDirectory ` -internalurl "https://{{excURLs.iowa}}.{{excURLs.imain}}/mapi" ` -externalurl "https://{{excURLs.owa}}.{{excURLs.main}}/mapi" Get-OutlookAnywhere -Server $env:computername | Set-OutlookAnywhere ` -internalhostname {{excURLs.iowa}}.{{excURLs.imain}} ` -externalhostname {{excURLs.owa}}.{{excURLs.main}} ` -ExternalClientsRequireSsl:$true ` -InternalClientsRequireSsl:$true ` -ExternalClientAuthenticationMethod 'Negotiate' -wa 0 Get-ClientAccessService $env:computername | Set-ClientAccessService ` -AutoDiscoverServiceInternalUri ` "https://{{excURLs.auto}}.{{excURLs.main}}/Autodiscover/Autodiscover.xml"
Die Nutzung dieses Skriptes geschieht auf eigene Gefahr!
Dieser Generator wurde mit Exchange 2016 und 2019 getestet.
Meinen Namen, meine E-Mail-Adresse und meine Website in diesem Browser speichern, bis ich wieder kommentiere.
Benachrichtige mich über neue Beiträge via E-Mail.
Δ
1 Kommentar
Daniel Jörg SchuppeliusEingestellt am: 21:22 - 5.Juli 2021
Dieser Generator wurde mit Exchange 2016 und 2019 getestet.