Link to home
Start Free TrialLog in
Avatar of medium_grade
medium_gradeFlag for United States of America

asked on

Exchange Shell Commands: launch from a script?

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!
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Yes you can create a BAT file or a PS1 and simply run it using the Exchange Shell

- Rancy
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of medium_grade

ASKER

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?
yes ps1 contains only the commands nothing else