D
Deleted member 19858
Guest
I want to create a batch script that will be used for the Exchange Information Store to say if the service stops, start the service, and restart the MTA stacks. The script I have so far says the following, but it isn't responding to the question correctly.
When I run this script it returns the following:
Code:
@echo off
NET START "Microsoft Exchange Information Store"
echo y|NET STOP "Microsoft Exchange MTA Stacks"
NET START "Microsoft Exchange MTA Stacks"
NET START "LFExGateway"
When I run this script it returns the following:
Code:
C:\Documents and Settings\remoteadmin\Desktop>XMediusFAX.bat
The following services are dependent on the Microsoft Exchange MTA Stacks service.
Stopping the Microsoft Exchange MTA Stacks service will also stop these services.
LFExGateway
Do you want to continue this operation? (Y/N) [N]:
No valid response was provided.
The requested service has already been started.
More help is available by typing NET HELPMSG 2182.