Avatar of medium_grade
medium_grade
Flag 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!
Exchange

Avatar of undefined
Last Comment
Akhater

8/22/2022 - Mon
Manpreet SIngh Khatra

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

- Rancy
ASKER CERTIFIED SOLUTION
Akhater

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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?
Akhater

yes ps1 contains only the commands nothing else
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck