Solved

Exchange Shell Commands: launch from a script?

Posted on 2012-12-23
4
304 Views
Last Modified: 2013-01-03
I am putting together a disaster recovery document for a client. In one particular case, there are a few commands which must be run from the Exchange Management Shell. Can I place these commands into a single file so that they can be run by simply double-clicking? That would be ideal.

Let me know. Thanks!
0
Comment
Question by:medium_grade
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38716831
Yes you can create a BAT file or a PS1 and simply run it using the Exchange Shell

- Rancy
0
 
LVL 49

Accepted Solution

by:
Akhater earned 300 total points
ID: 38716905
0
 

Author Comment

by:medium_grade
ID: 38729955
I assume the PS1 file need only contain commands that I would normally execute in the Exchange Management Shell, correct? Does the file need anything else?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 38740502
yes ps1 contains only the commands nothing else
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an Accepted Domain 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 >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

708 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

18 Experts available now in Live!

Get 1:1 Help Now