Solved

Exchange server Maintenance scripts

Posted on 2015-01-09
6
230 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

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.

Question has a verified solution.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

756 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