Solved

Exchange server Maintenance scripts

Posted on 2015-01-09
6
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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