The Exchange 2013 Help files (.chm) have been updated on April 4th with updates for Cumulative Update 1.
Here you can download the help files for both Exchange Server 2013 Hybrid and On-Premise deployments.
Export-Message MBX1\letsexchange.com\6789 | AssembleMessage -Path "D:\Messages\Message6789.eml"
Get-Message -Queue "MBX1\letsexchange.com" | ForEach {
# Build message path and filename with the Internet Message ID as the file name
$Temp = "D:\Messages\" + $_.InternetMessageID + ".eml"
$Temp = $Temp.Replace("<", "_")
$Temp = $Temp.Replace(">", "_")
# Export the message using
Export-Message $_.Identity | AssembleMessage -Path $Temp
}
New-MailboxSearch “Hold-Nuno” -SourceMailboxes “nuno@letsexchange.com” -InPlaceHoldEnabled $True
New-MailboxSearch "Discovery-Nuno" -StartDate "1/1/2010" -EndDate "12/31/2012" -SourceMailboxes "Nuno" -TargetMailbox "Discovery Search Mailbox" -SearchQuery '"LetsExchange" AND "Project X"' -MessageTypes Email -IncludeUnsearchableItems -LogLevel Full
Set-MailboxSearch "Hold-Nuno" -InPlaceHoldEnabled $false
Remove-MailboxSearch "Hold-Nuno"
Get-FailedContentIndexDocuments Nuno
Get-FailedContentIndexDocuments -MailboxDatabase DB01
Set-ServerComponentState MBX1 -Component HubTransport -State Draining -Requester Maintenance
Suspend-ClusterNode MBX1
Set-MailboxServer MBX1 -DatabaseCopyActivationDisabledAndMoveNow $True
Set-MailboxServer MBX1 -DatabaseCopyAutoActivationPolicy Blocked
Set-ServerComponentState MBX1 -Component ServerWideOffline -State Inactive -Requester Maintenance
Get-Queue -Server MBX1 | ? {$_.Identity -notmatch "Poison" -AND $_.Identity -notmatch "Shadow"}
Redirect-Message -Server MBX1 -Target MBX2
Set-ServerComponentState MBX1 -Component ServerWideOffline -State Active -Requester Maintenance
Resume-ClusterNode MBX1
Set-MailboxServer MBX1 -DatabaseCopyActivationDisabledAndMoveNow $False
Set-MailboxServer MBX1 -DatabaseCopyAutoActivationPolicy Unrestricted
Set-ServerComponentState MBX1 -Component HubTransport -State Active -Requester Maintenance
New-ReceiveConnector -Name “Application 1” –Server MBX1 -Usage Custom -Bindings 10.10.1.1:25 -RemoteIPRanges 192.168.1.1-192.168.1.10 -MaxMessageSize 50MB
New-ReceiveConnector -Name “Application 1” –Server MBX1 -Usage Custom -Bindings 10.10.1.1:25 -RemoteIPRanges 192.168.1.1-192.168.1.10 -MaxMessageSize 50MB –TransportRole HubTransport
cluster.exe “DAG Name” /MoveTo:NewDAG
where “DAG Name” is your DAG Cluster Name and NewDAG is the node where you want to move the PAM to.
Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -EventID RECEIVE -Start "07/05/2012 16:40" | ? {$_.Source -eq "STOREDRIVER"} | Select RecipientCount | Group RecipientCount | Select @{Name="Recipients"; Expression={[Int] $_.Name}}, Count | Sort Recipients
[Int] $1 = $2 = $5 = $10 = $30 = $50 = $75 = $100 = $150 = $200 = $250 = $big = 0
Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -EventID RECEIVE -Start "07/05/2012" | ? {$_.Source -eq "STOREDRIVER"} | Select RecipientCount | ForEach {
If ($_.RecipientCount -eq 1) { $1++ }
If ($_.RecipientCount -eq 2) { $2++ }
If ($_.RecipientCount -gt 2 -and $_.RecipientCount -le 5) { $5++ }
If ($_.RecipientCount -gt 5 -and $_.RecipientCount -le 10) { $10++ }
If ($_.RecipientCount -gt 10 -and $_.RecipientCount -le 30) { $30++ }
If ($_.RecipientCount -gt 30 -and $_.RecipientCount -le 50) { $50++ }
If ($_.RecipientCount -gt 50 -and $_.RecipientCount -le 75) { $75++ }
If ($_.RecipientCount -gt 75 -and $_.RecipientCount -le 100) { $100++ }
If ($_.RecipientCount -gt 100 -and $_.RecipientCount -le 150) { $150++ }
If ($_.RecipientCount -gt 150 -and $_.RecipientCount -le 200) { $200++ }
If ($_.RecipientCount -gt 200 -and $_.RecipientCount -le 250) { $250++ }
If ($_.RecipientCount -gt 250 -and $_.RecipientCount -le 300) { $300++ }
If ($_.RecipientCount -gt 300) { $big++ }
}
Write-Host "1, $1"
Write-Host "2, $2"
Write-Host "Between 3 and 5, $5"
Write-Host "Between 6 and 10, $10"
Write-Host "Between 11 and 30, $30"
Write-Host "Between 31 and 50, $50"
Write-Host "Between 51 and 75, $75"
Write-Host "Between 76 and 100, $100"
Write-Host "Between 101 and 150, $150"
Write-Host "Between 151 and 200, $200"
Write-Host "Between 201 and 250, $250"
Write-Host "Between 251 and 300, $300"
Write-Host "More than 300, $big"
Set-Mailbox User1 -ExtensionCustomAttribute1 Area1,Area2,Area3
Set-Mailbox User2 -ExtensionCustomAttribute1 Area2,Area3,Area4
Set-Mailbox User3 -ExtensionCustomAttribute1 Area3,Area4,Area5
New-DynamicDistributionGroup -Name Area1 -RecipientFilter {ExtensionCustomAttribute1 -eq “Area1”}
New-DynamicDistributionGroup -Name Area2 -RecipientFilter {ExtensionCustomAttribute1 -eq “Area2”}
New-DynamicDistributionGroup -Name Area3 -RecipientFilter {ExtensionCustomAttribute1 -eq “Area3”}
$Group = Get-DynamicDistributionGroup Area1
Get-Recipient -RecipientPreviewFilter $Group.RecipientFilter
(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Get-MailboxDatabaseCopyStatus -Server $_}}
(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Test-ReplicationHealth -Server $_}}
Get-Mailbox -ResultSize Unlimited -Filter {UseDatabaseQuotaDefaults -eq $False} | Where {$_.ProhibitSendQuota -ne "unlimited"} | ForEach {Set-Mailbox $_ -ProhibitSendQuota "$($($_.ProhibitSendQuota).Value.ToMB() * 1.4)MB" -WhatIf}