Difference between revisions of "Exchange Powershell Administration Commands"

From DFWLPiki
Jump to: navigation, search
(Created page with "Category:Exchange Database Management Get-MailboxDatabaseCopyStatus * | ft -auto Get-MailboxDatabaseCopyStatus * -Active | Select Name,Status,MailboxServer,ActivationPr...")
 
Line 1: Line 1:
 
[[Category:Exchange]]
 
[[Category:Exchange]]
 +
 +
 +
'''Exchange 2013'''<br>
  
 
Database Management
 
Database Management
Line 7: Line 10:
 
Display current running exchange version on all servers:
 
Display current running exchange version on all servers:
 
  Get-ExchangeServer|Format-List name, edition, admindisplayversion, serverrole, site
 
  Get-ExchangeServer|Format-List name, edition, admindisplayversion, serverrole, site
 +
 +
 +
Check and disable backscatter:
 +
Get-RemoteDomain | select identity, DeliveryReportEnabled
 +
Get-RemoteDomain | select identity, NDREnabled
 +
 +
Set-RemoteDomain -Identity * -NDREnabled $false
 +
Set-RemoteDomain -Identity * -DeliveryReportEnabled $false
 +
 +
Check Exchange Server Version:
 +
Get-ExchangeServer|Format-List name, edition, admindisplayversion, serverrole, site
 +
and source link for what different versions numbers are:
 +
http://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx

Revision as of 20:04, 29 December 2016


Exchange 2013

Database Management

Get-MailboxDatabaseCopyStatus * | ft -auto
Get-MailboxDatabaseCopyStatus * -Active | Select Name,Status,MailboxServer,ActivationPreference,ContentIndexState

Display current running exchange version on all servers:

Get-ExchangeServer|Format-List name, edition, admindisplayversion, serverrole, site


Check and disable backscatter:

Get-RemoteDomain | select identity, DeliveryReportEnabled
Get-RemoteDomain | select identity, NDREnabled
Set-RemoteDomain -Identity * -NDREnabled $false
Set-RemoteDomain -Identity * -DeliveryReportEnabled $false

Check Exchange Server Version:

Get-ExchangeServer|Format-List name, edition, admindisplayversion, serverrole, site

and source link for what different versions numbers are:

http://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx