If you use Office 365 or other Microsoft Exchange-based email, you can add an email account from another email service (for example, Gmail, Yahoo! Mail Plus, or Comcast) as a connected account. For information about how to add a connection to another email account, see Connect to another email account.
Use the Command:
shutdown /r /m \\<Computer Name> /t 0 /c "Comment" /f