Exchange PowerShell: URL-Skript-Generator Externe URL HauptdomainAutodiscover (Subdomain)Outlook Web Access (Subdomain) Interne URL HauptdomainOutlook Web Access (Subdomain) Nicht alle erforderlichen Felder sind ausgefüllt! Einige Felder enthalten nicht unterstützte Zeichen! Alle Felder entsprechen den Vorgaben (Ohne Prüfung der Hauptdomains) 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!
1 comment so far
Daniel Jörg Schuppelius Posted on 5.Jul 2021 (21:22:08)
Dieser Generator wurde mit Exchange 2016 und 2019 getestet.