quinta-feira, 2 de outubro de 2014

Visualizar e Habilitar Log Circular no Database - Exchange

# Mostrar os databases que possuem Log Circular habilitado
Get-MailboxDatabase | where {$_.CircularLoggingEnabled -eq $true}

# Mostrar os databases que possuem o Log Circular habilitado
Get-MailboxDatabase | select name, circularloggingenabled | sort circularloggingenabled -desc | ft -AutoSize

# Habilitar o Log Circular em um Database especifico
Get-mailboxdatabase -identity DB01 | set-mailboxdatabase -CircularloggingEnabled $true

Relatorio de Mailbox em GRID e HTML - Exchange

Get-Mailbox | Get-MailboxStatistics | select DisplayName, LastLogonTime, StorageLimitStatus, Servername, DatabaseName,@{name="MailboxSize";exp={$_.totalitemsize}} | Out-GridView


Get-Mailbox | Get-MailboxStatistics | select DisplayName, LastLogonTime, StorageLimitStatus, Servername, DatabaseName,@{name="MailboxSize";exp={$_.totalitemsize}} | ConvertTo-Html | Out-File report.html

Exchange 2013 SP1 - Instalação

Instalação do Exchange, onde não existe em uma empresa, ou seja, o AD está limpo sem configurações de Exchange anteriores.

Download Exchange 2013 SP1


Instalação do RSAT no Domain Controller
Install-WindowsFeature RSAT-ADDS

Instalação das Features necessários para o MailboxServer and CAS
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, 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

Reboot
Install-WindowsFeature Server-Media-Foundation























































Preparando o Active Directory
.\setup /Preparead /IAcceptExchangeServerLicenseTerms /OrganizationName:” Extreme”













Preparando  o Schema








Preparando o Dominio







Setup