Jump to content

- - - - -

Exchange Server 2010 PowerShell Commands

Posted by Ioannis Zontos , 22 April 2012 · 406 views

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

August 2019

18192021 22 2324


Search My Blog