Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange server Maintenance scripts

Posted on 2015-01-09
6
Medium Priority
?
301 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 2000 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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 …
Suggested Courses

971 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