Jump to content
Sign in to follow this  
  • entries
  • comments
  • views

Exchange Server 2010 PowerShell Commands

Sign in to follow this  
Ioannis Zontos


TOP 10: Exchange Server 2010 PowerShell Commands

Στο παρόν post θα βρείτε εντολές που θα βοηθήσουν την διαχείριση του Mcrosoft Exchange2010 , είναι 10 βασικές εντολές που μας βοηθούν , σε άλλο post ίσως προσθέσουμε μερικές ακόμα


1. Check Database Availability Group Replication Status

Το status απο ολα τα  copies of Exchange 2010 databases. Επισης βλέπουμε το   content index state.


2. Fix a Failed Content Index

Οταν εχουμε failed  content index .

Update-MailboxDatabaseCopy -Identity [id] –CatalogOnly


3. Move a Mailbox in a Batch

keep track of mailbox moves both those which are in progress and to clear them afterward.

New-MoveRequest -Identity [id] –BatchName


4. Check Move Progress

Ολα τα  move requests και τα statistics.

Get-MoveRequest | Get-MoveRequestStatistics


4. Clear a Move Request

In order to move a mailbox after a move request has completed or failed, you need to remove the request which can be done in bulk, individually, or by a batch name.

Get-MoveRequest | Remove-MoveRequest

or to remove a batch of requests already labeled...

Get-MoveRequest -BatchName [name] | Remove-MoveRequest

5. Determine Unified Messaging Enablement of a User

Αν ενας user ειναι enabled για Unified Messaging,

Get-Mailbox | fl UME*


6. View Queues of all Hub Transport Servers

Το  queue status για ολους τους  HT servers

Get-TransportServer | Get-Queue


7. Determine Active Calls on a UM Server

see if a server is in use before performing a UM service reset or see the status of a test call.

Get-UmServer | Get-UMActiveCalls


8. Determine Exchange Server 2010 Service Status

Βλεπουμε το status μετα απο reboot.

Get-Service | Where {$_.DisplayName -Like "Microsoft Exchange*"}


9. Get Mailbox Sizes and Sort by Size

Get-Mailbox | Get-MailboxStatistics | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}},@{label=”Storage Limit”;expression={$_.StorageLimitStatus}} –auto


10. Check Autodiscover Settings

Get-WebServicesVirtualDirectory | fl InternalUrl,ExternalUrl

Get-EcpVirtualDirectory | fl InternalUrl,ExternalUrl

Get-OwaVirtualDirectory | fl InternalUrl,ExternalUrl

Get-OabVirtualDirectory | fl InternalUrl,ExternalUrl

Get-ClientAccessServer | fl AutoDiscoverServiceInternalUri

Sign in to follow this  


Recommended Comments

There are no comments to display.

Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...