Posts

Showing posts with the label Mailbox Management

E14– Query Mailbox non default settings

Image
    [PS] Get-Mailbox -organization Qisdaer -ResultSize unlimited |Where{($_.RecipientLimits -ne 'unlimited')} | f t Name, RecipientLimits [PS] Get-Mailbox -organization Qisdaer -ResultSize unlimited |Where{($_.MaxSendSize -ne 'unlimited')} | ft Name, MaxSendSize   [PS] Get-DistributionGroup   | ft Name, *Accept*

E14–Export & Import Mailbox

Image
  1. 2. [PS] New-MailboxExportRequest -Mailbox mail2k10.johnny -FilePath \\Server\C$\Temp\Mail2k10_johnny_Export.pst -IncludeFolders "行事曆","連絡人" 3.

E14 - How to List all Users Who Have Access to Other Exchange Mailboxes

  http://exchangeserverpro.com/list-users-access-exchange-mailboxes/   [PS] C:\Windows\system32>get-mailbox -OrganizationalUnit System_Accounts | Get-MailboxPermission | Where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', $_.AccessRights)}} | Export-Csv -NoTypeInformation c:\mailboxpermissions.csv

E14: DB count & size

  http://msundis.wordpress.com/2011/10/28/quick-tip-view-the-database-size-and-mailbox-count-for-mailbox-databases/ Mailbox count for mailbox databases Get-Mailbox -server BQT-MBX01 -ResultSize:Unlimited | Group-Object -Property:Database | Select-Object Name,Count | Sort-Object -Property:Count –Descending   MailboxDatabase sizes Get-MailboxDatabase -Server bqt-mbx01 -Status | select Servername,Name,databasesize

E14 Ticket: How to Reconnect Deleted Mailbox

  http://exchangeserverpro.com/reconnect-disconnected-mailbox-exchange-server-2010 [PS] C:\>Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft displayname,database,disconnectreason -auto DisplayName                  Database                          DisconnectReason -----------                  --------                          ---------------- Evelyn Yeh         ...

E14 Ticket: Mailbox Audit & log Search

    http://www.msexchange.org/articles-tutorials/exchange-server-2010/compliance-policies-archiving/auditing-mailbox-access.html

E14 LAB: RBAC for Recipient Management

    http://sysadmin-talk.org/2010/04/5-steps-to-heaven-creating-a-custom-rbac-role-in-exchange-2010/ http://www.networkworld.com/community/node/47428

REF: E14 Set-ADServerSettings (before Get-Mailbox )

    http://technet.microsoft.com/en-us/library/dd298063.aspx [PS]Set-AdServerSettings –ViewEntireForest $True    

LAB: E14 PowerShell: Remove-StoreMailbox (Disconnect Mailbox, SoftDeleted)

Image
  LAB: E14 PowerShell: Remove-StoreMailbox (Disconnect Mailbox, SoftDeleted) 當信箱從 Exchange Server 2010 SP1 信箱資料庫移至任何其他信箱資料庫時,會建立虛刪除的信箱。Exchange 並不會在移動之後完全刪除來源資料庫中的信箱,以避免發生錯誤而造成目的資料庫中的信箱失效。您可以隨時還原來源信箱並再試一次。Exchange 會在保留期間保留虛刪除信箱。 您可以在虛刪除的信箱上執行兩項作業: · 您可以在命令介面中使用 MailboxRestoreRequest 指令程式集將虛刪除信箱還原至現有的 Active Directory 使用者。此指令程式集使用信箱複寫服務 (MRS) 來重新連線信箱。您無法使用 EMC 來執行此程序。如需相關資訊,請參閱 還原虛刪除的信箱 。 · 您可以使用 Remove-StoreMailbox 指令程式永久刪除虛刪除信箱。此程序會清除信箱資料庫中已中斷連線的信箱以及其全部的內容。資料會永久遺失。如需相關資訊,請參閱 永久刪除中斷連線的信箱 。 附註: 您可以只對中斷連線的信箱執行 Remove-StoreMailbox 指令程式。如果您嘗試對作用中信箱執行指令程式,則指令程式會失敗並傳回錯誤。如需如何永久刪除作用中信箱的相關資訊,請參閱 移除信箱 中的「使用命令介面永久移除信箱」。 永久刪除中斷連線的信箱 當您使用 Remove-StoreMailbox Cmdlet 將中斷連線的信箱及其所有內容從信箱資料庫清除時,便會永久遺失資料。已中斷連線的信箱有兩種類型:虛刪除和已停用。執行 Cmdlet 時,您必須指定其中一種類型。如果您指定的類型與已中斷連線信箱的實際類型不符,命令便會失敗。 若要深入了解中斷連線的信箱,請參閱 了解中斷連線的信箱 。 附註: ...

ADMT CrossForest 2003-2010 Part4 – NEW-MoveRequest

Image
    New-MoveRequest 1.  Create CSV   2. [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts> Import-Csv c:\Temp\import.csv | New-MoveRequest -RemoteLegacy -TargetDatabase "Mailbox Database 1563432160" -RemoteGlobalCatalog JS-AD2.js_domain.Test.com.tw -RemoteCredential $Remote -TargetDeliveryDomain "Test.com.tw" 3. Completed Move-Request

E14–Mail Enable after ADMT Mail Group

Image
      [PS] C:\Windows\system32>Get-Group -Identity JS.AllGroup | fl RunspaceId           : f76d0203-ca9e-4579-b578-23842539ffe1 DisplayName          : JS.AllGroup GroupType            : Universal, SecurityEnabled ManagedBy            : {} SamAccountName       : JS.AllGroup Sid                  : S-1-5-21-3280115619-3012524529-1380902707-1155 SidHistory           : {S-1-5-21-387562510-2723945668-297530758-1624} SimpleDisplayName    : RecipientType        : MailUniversalSecurityGroup RecipientTypeDetails : MailUniv...

Tikcet–Exchange 2010 Reconnect deleted archive mailbox

Image
1. When move user mailbox with archive mailbox, I disabled archive mailbox first and create new archive mailbox for this user again. Then I want to retrive original archive mailbox of exist user. 2. Get disabled archvie mailbox. [PS] >Get-MailboxStatistics -Database BQT-DAG1_ArchiveMailbox | ft displayname, itemcount, identity 3. Remove disabled archive mailbox. [PS] > Remove-StoreMailbox -Database bqt-dag1_archivemailbox -Identity "934c17f3-cd1e-46e1b5e66e7bb" -MailboxState disabled confirm are you sure you want to perform this action? removing mailbox "934c17f3-cd1e-46ea-a572-e51b5e66e7bb" on database "bqt-dag1_archivemailbox". [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y 4. Reconnect archive mailbox to user. 5. Move archive mailbox to new archvie mailbox database 6. 7. Get-MailboxStatistics -Database BQT-E14CAS1_OCT | ft DisplayName,Discon...

Ticket: Exchange 2010 Remove Mailbox Database

Image
  http://markswinkels.nl/2009/05/19/exchange-2010-delete-the-first-mailbox-database/ http://johnnyyao.blogspot.com/2010/09/ticket-exchange-2010-cannot-remove.html (Bloger) -------------------------------------------------------- Microsoft Exchange 錯誤 -------------------------------------------------------- 無法刪除信箱資料庫 'BQT_DAG1_SystemMailbox'。 BQT_DAG1_SystemMailbox 失敗 錯誤: This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-...