Solved

Exchange Shell Commands: launch from a script?

Posted on 2012-12-23
4
308 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Outlook 2010 not responding 14 44
Delete Msol groups from csv file 2 35
What Exchange User Permissions Does One have? 7 35
Exchange 2010, Implementing On-Prem Archiving 3 25
Find out what you should include to make the best professional email signature for your organization.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
In this video we show how to create a mailbox database 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 Servers >> Data…

813 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

10 Experts available now in Live!

Get 1:1 Help Now