Solved

Exchange server Maintenance scripts

Posted on 2015-01-09
6
247 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

623 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