Because of some error on my server my SMTP [SMTP Virtual Server #1] stop. I wanted to create job which will run periodic timely and check the SMTP server status, If its stop then it will start it again.
My admin team working on the issue. I wanted to use this temporary solution.
Any hemp appropriated.... :)
I have used Start-Service "SMTPSVC" its work but its start UATSERV but not started SMTP Virtual Server #1 (Please have a look of the attached image)