Home All Groups Group Topic Archive Search About

Start/Stop Scripts for Exchange Server 2007

Author
20 Nov 2007 9:38 AM
Nicolas Macarez
Hi!
I'm looking for some scripts similar to these ones that I use for Exchange
Server 2003, to stop and start the services of Exchange Server 2007 from a
command line interface.

Here are the scripts I use for E2K3:

START SCRIPT
net start "Microsoft Exchange Information Store"
net start "Microsoft Exchange MTA Stacks"
net start "Microsoft Exchange Event"
net start "Microsoft Exchange Management"
net start "Microsoft Exchange Routing Engine"
net start "Microsoft Exchange System Attendant"

STOP SCRIPT
net stop "Microsoft Exchange MTA Stacks"
net stop "Microsoft Exchange Event"
net stop "Microsoft Exchange Information Store"
net stop "Microsoft Exchange Management"
net stop "Microsoft Exchange Routing Engine"
net stop "Microsoft Exchange System Attendant"

I am looking for two scripts (START and STOP) for Microsoft Exchange Server
2007, which is somehow different from 2003 on that point (and others as well
Show quote
:-)).
Help appreciated.
Nicolas

Author
20 Nov 2007 12:36 PM
Rene Frenger
You can use the powershell to view which Exchange services are running and
outputing them to a file exchsvc.txt:

get-service *exchange* > exchsvc.txt

Then modify exchsvc.txt to your needs.

--

Regards,

Rene Frenger


Show quote
"Nicolas Macarez" wrote:

> Hi!
> I'm looking for some scripts similar to these ones that I use for Exchange
> Server 2003, to stop and start the services of Exchange Server 2007 from a
> command line interface.
>
> Here are the scripts I use for E2K3:
>
> START SCRIPT
> net start "Microsoft Exchange Information Store"
> net start "Microsoft Exchange MTA Stacks"
> net start "Microsoft Exchange Event"
> net start "Microsoft Exchange Management"
> net start "Microsoft Exchange Routing Engine"
> net start "Microsoft Exchange System Attendant"
>
> STOP SCRIPT
> net stop "Microsoft Exchange MTA Stacks"
> net stop "Microsoft Exchange Event"
> net stop "Microsoft Exchange Information Store"
> net stop "Microsoft Exchange Management"
> net stop "Microsoft Exchange Routing Engine"
> net stop "Microsoft Exchange System Attendant"
>
> I am looking for two scripts (START and STOP) for Microsoft Exchange Server
> 2007, which is somehow different from 2003 on that point (and others as well
> :-)).
> Help appreciated.
> Nicolas
>
>
>
Author
20 Nov 2007 10:10 PM
Nicolas Macarez
Thanks Rene,
Do you have any idea of the order these services are meant to start (and to
stop).
Regards
Nicolas


"Rene Frenger" <ReneFren***@discussions.microsoft.com> a écrit dans le
message de news: BB6B65DD-FA17-474D-9980-5362D52AA***@microsoft.com...
Show quote
> You can use the powershell to view which Exchange services are running and
> outputing them to a file exchsvc.txt:
>
> get-service *exchange* > exchsvc.txt
>
> Then modify exchsvc.txt to your needs.
>
> --
>
> Regards,
>
> Rene Frenger
>
>
> "Nicolas Macarez" wrote:
>
>> Hi!
>> I'm looking for some scripts similar to these ones that I use for
>> Exchange
>> Server 2003, to stop and start the services of Exchange Server 2007 from
>> a
>> command line interface.
>>
>> Here are the scripts I use for E2K3:
>>
>> START SCRIPT
>> net start "Microsoft Exchange Information Store"
>> net start "Microsoft Exchange MTA Stacks"
>> net start "Microsoft Exchange Event"
>> net start "Microsoft Exchange Management"
>> net start "Microsoft Exchange Routing Engine"
>> net start "Microsoft Exchange System Attendant"
>>
>> STOP SCRIPT
>> net stop "Microsoft Exchange MTA Stacks"
>> net stop "Microsoft Exchange Event"
>> net stop "Microsoft Exchange Information Store"
>> net stop "Microsoft Exchange Management"
>> net stop "Microsoft Exchange Routing Engine"
>> net stop "Microsoft Exchange System Attendant"
>>
>> I am looking for two scripts (START and STOP) for Microsoft Exchange
>> Server
>> 2007, which is somehow different from 2003 on that point (and others as
>> well
>> :-)).
>> Help appreciated.
>> Nicolas
>>
>>
>>

AddThis Social Bookmark Button