How to start SMTP virtualhost [SMTP Virtual Server #1] through powershell or command prompt
To Start:
$SMTP=[adsi]"IIS://localhost/SMTPSVC/1"
$SMTP.ServerState = 2
$SMTP.SetInfo()
To Stop:
$SMTP=[adsi]"IIS://localhost/SMTPSVC/1"
$SMTP.ServerState = 4
$SMTP.SetInfo()