?
Solved

Exchange Shell Commands: launch from a script?

Posted on 2012-12-23
4
Medium Priority
?
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 600 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month13 days, 18 hours left to enroll

801 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