This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MAILBOXDATABASENAME = "MAILBOXDATABASENAME" | |
Get-MoveRequestStatistics -MoveRequestQueue $MAILBOXDATABASENAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$SERVERNAME = "SERVERNAME" | |
$WDOMAIN = "*.DOMAIN.COM" | |
Set-PopSettings -X509CertificateName $SERVERNAME | |
Set-ImapSettings -X509CertificateName $SERVERNAME | |
$Cert = Get-ExchangeCertificate | ? Subject -like $WDOMAIN | |
Enable-ExchangeCertificate -Thumbprint $Cert.Thumbprint -Services POP,IMAP | |
Get-ExchangeCertificate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$SERVERNAME = "SERVERNAME" | |
$LOCALIP1 = "LOCALIP1" | |
$LOCALIP2 = "LOCALIP2" | |
Set-TransportService $SERVERNAME -ExternalDnsServer $LOCALIP1, $LOCALIP2 | |
Set-TransportService $SERVERNAME -InternalDnsServer $LOCALIP1, $LOCALIP2 | |
Set-FrontEndTransportService SERVERNAME -ExternalDnsServer $LOCALIP1, $LOCALIP2 | |
Set-FrontEndTransportService SERVERNAME -InternalDnsServer $LOCALIP1, $LOCALIP2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$SERVERNAME = "SERVERNAME" | |
Get-ReceiveConnector | ? Bindings -like "*:587" | Set-ReceiveConnector -Fqdn $SERVERNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restart-WebAppPool MSExchangeOWAAppPool | |
Restart-WebAppPool MSExchangeECPAppPool | |
iisreset /noforce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appcmd set config "Default Web Site/owa" /section:access /sslFlags:None /commit:APPHOST | |
iisreset /noforce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MAILDATABASE = "MAILDATABASE" | |
$TIMEBETWEEN = 5 | |
while (1) { | |
$CurrentStats = Get-MoveRequestStatistics -MoveRequestQueue $MAILDATABASE | |
cls | |
Write-Output $CurrentStats | |
sleep $TIMEBETWEEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-MoveRequest -MoveStatus InProgress | Suspend-MoveRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-MoveRequest -MoveStatus Suspended | Restart-MoveRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -r "port=" /etc/webmin/miniserv.conf |
OlderNewer