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!
Who is Participating?
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Yes you can create a BAT file or a PS1 and simply run it using the Exchange Shell

- Rancy
medium_gradeAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.