Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

En PWEXCH01

Install-WindowsFeature RSAT-ADDS

Instalacion de .net framework


Instalacion de Visual C++

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-


over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-
Mgmt, RSAT-Clustering-PowerShell, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth,
Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-
Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-
ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-
Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-
Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD /OrganizationName:


"SesDigital"

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains

Clave de administrador:
Ses.2019!!!

Rename Exchange 2019 Database using Exchange Management Shell


Set-MailboxDatabase -Identity �<DATABASE NAME>� -Name <NEW NAME>

To verify that the database is renamed, run the following cmdlet to retrieve
database information
Get-MailboxDatabase | ft Name, Server

Enter the Product key using Exchange Management Shell


Set-ExchangeServer <ServerName> -ProductKey <Enter Product Key>

Example:
Set-ExchangeServer EXCH01 -ProductKey 12345-67890-12345-67892-09876

Restart-Service MSExchangeIS

Para salida de correos con Relay

[PS] C:\>Set-ReceiveConnector "EXSERVER\Anon Relay EXSERVER" -PermissionGroups


AnonymousUsers

[PS] C:\>Get-ReceiveConnector "EXSERVER\Anon Relay EXSERVER" | Add-ADPermission -


User 'NT AUTHORITY\Anonymous Logon' -ExtendedRights MS-Exch-SMTP-Accept-Any-
Recipien
Cambiando la configuracion del autodiscover.

Get-ClientAccessService | fl AutoDiscoverServiceInternalUri

Luego se modifica
Set-ClientAccessService -Identity MBG-EX01 -AutoDiscoverServiceInternalUri
https://autodiscover.sesnetperu.com/Autodiscover/Autodiscover.xml

Antes: S-TIAHUANACO-WP.SESDIGITAL.LOCAL

Para certificados wildcard ssl y servicios pop e imap

Set-POPSettings -X509CertificateName pop.sesnetperu.com


Set-IMAPSettings -X509CertificateName imap.sesnetperu.com

Set-POPSettings -X509CertificateName mail.sesnetperu.com

Set-IMAPSettings -X509CertificateName mail.sesnetperu.com

Restart-service MSExchangePOP3

Restart-service MSExchangeIMAP4

Get-ExchangeCertificate

Enable-ExchangeCertificate -Thumbprint 6F728E04CCCF60E5BE99E757B74C87637FC01D0C -


Services POP

Enable-ExchangeCertificate -Thumbprint 6F728E04CCCF60E5BE99E757B74C87637FC01D0C -


Services IMAP

Configurar en los conectores de envio y recepcion los FQDN a smtp.sesnetperu.com

Activando protocolo de logs en exchange

Get-TransportServer name_server | select *protocollog*

Set-TransportServer name_server -SendProtocolLogMaxDirectorySize 4GB -


ReceiveProtocolLogMaxDirectorySize 4GB

Para integracion office365

En Exchange Shell:

Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -MRSProxyEnabled


$false
Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -MRSProxyEnabled
$true
Set-WebServicesVirtualDirectory -identity "EWS (Default Web Site)" -
BasicAuthentication $TRUE
Restart-WebAppPool MSExchangeServicesAppPool

En el Shell de Windows
Import-Module .\HybridManagement.psm1
Test-HybridConnectivity testO365Endpoints

Advertencia de seguridad
Ejecute solo los scripts de confianza. Los scripts procedentes de Internet pueden
ser �tiles, pero este script podr�a
da�ar su equipo. Si conf�a en este script, use el cmdlet Unblock-File para permitir
que se ejecute sin este mensaje de
advertencia. �Desea ejecutar C:\Admin\Scripts\HybridManagement.psm1?
[N] No ejecutar [Z] Ejecutar una vez [U] Suspender [?] Ayuda (el valor
predeterminado es "N"): Z
PS C:\Admin\Scripts> Test-HybridConnectivity testO365Endpoints
Testing connection to mscrl.microsoft.com on port 80
Testing connection to crl.microsoft.com on port 80
Testing connection to ocsp.msocsp.com on port 80
Testing connection to www.microsoft.com on port 80
Testing connection to login.windows.net on port 443
Testing connection to login.microsoftonline.com on port 443
Testing connection to aadap-portcheck-seaus.connectorporttest.msappproxy.net on
port 8080
Performing GET on https://aadap-portcheck-
seaus.connectorporttest.msappproxy.net:8080
Testing connection to watchdog.servicebus.windows.net on port 443
ADVERTENCIA: Name resolution of watchdog.servicebus.windows.net failed
Performing GET on https://watchdog.servicebus.windows.net:443
Invoke-WebRequest : No se puede resolver el nombre remoto:
'watchdog.servicebus.windows.net'
En C:\Admin\Scripts\HybridManagement.psm1: 196 Car�cter: 19
+ $result = Invoke-WebRequest -Method Get -Uri $uri
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation:
(System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId :
WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

You might also like