Solved

Exchange server Maintenance scripts

Posted on 2015-01-09
6
215 Views
Last Modified: 2015-01-15
In Exchange server 2010 there are some Maintenance scripts  included with the Install of Exchange server,  located in Scripts folder, but there are others that you can download. I am not sure what 's the role of each of them.

These come with the Install of Exchange server:
StartDagServerMaintenance
StartDagServerMaintenance.strings
StopDagServerMaintenance
StopDagServerMaintenance.strings

 These are downloadable:
 Start-ExchangeServerMaintenanceMode  
Stop-ExchangeServerMaintenanceMode  

Any explanation will be very much appreciated.

Thanks
0
Comment
Question by:jskfan
  • 3
  • 3
6 Comments
 
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 500 total points
ID: 40541501
Mike Pfeiffer has a good article on Exchange Server Maintenance Mode See below link.
Exchange Server Maintenance Mode

The other StartDagServerMaintenance and StopDagServerMaintenance are used to update/patch your DAG member without having them go offline. They move the active copies of the databases on different DAG members while you are doing maintenance.

Will.
0
 

Author Comment

by:jskfan
ID: 40543400
I have used in the past:
StartDagServerMaintenance
 StopDagServerMaintenance
when I updated DAG members.


But never used :
  StartDagServerMaintenance.strings
  StopDagServerMaintenance.strings
And
 
  Start-ExchangeServerMaintenanceMode  
 Stop-ExchangeServerMaintenanceMode  

 
What do they accomplish differently from the 2 I have used
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40543515
Answers below...
But never used :
   StartDagServerMaintenance.strings
   StopDagServerMaintenance.strings
 And

These files are .psd1 files. They are Module Manifests files which provide the following detail for modules themselves
 -Describe the contents and attributes of the module
- Define the prerequisites
- Determine how the components are processed

Start-ExchangeServerMaintenanceMode , Stop-ExchangeServerMaintenanceMode  vs StartDagServerMaintenance, StopDagServerMaintenance

So the difference here is the following...
StartDagServerMaintenance: this will put the DAG in a maintenance mode specifically for DAG members
Start-ExchangeServerMaintenanceMode: this can put not only the DAG but the entire server into maintenance mode Transport Service, Call Router etc.

Hence the name of each of the scripts StartDAGServerMaintenance and Start-ExchangeServerMaintenanceMode

They are downloadable for Exchange 2010 because they are not natively part of the Exchange 2010 install. However Exchange 2013 has both of these scripts natively so there is no need to download them if you install Exchange 2013.

Hope this is more clear.

Will.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:jskfan
ID: 40546347
StartDagServerMaintenance: this will put the DAG in a maintenance mode specifically for DAG members
Start-ExchangeServerMaintenanceMode: this can put not only the DAG but the entire server into maintenance mode Transport Service, Call Router etc.


Not clear...

Even the first one will put the entire server into maintenance mode.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40546780
Take a look at Michael Van Horenbeeck blog on this topic.

MVH Blog

Will.
0
 

Author Closing Comment

by:jskfan
ID: 40550869
Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now