功能 我有一个配置Microsoft Outlook的服务器/规则定义,基于收到的电子邮件运行特定的程序/脚本。
问题: 服务器计划每周重新启动以进行维护。每次重启时,我都必须手动登录到服务器并打开Outlook以启用上述功能。
问题: 在Windows(程序/命令)中是否有任何方法可以使用它自动RDP到服务器并打开Outlook程序?
答案 0 :(得分:1)
您可以从microsoft尝试PsExec实用程序。
C:\PsTools\PsExec.exe \\remote-computer-name or IP address -u "username" -p "password" "path_to_outlook.exe_on remote_computer"
示例:
C:\ temp \ PsTools \ PsExec.exe \\ 192.168.0.88 -u“Admin”-p mypass“C:\ Program Files(x86)\ Microsoft Office \ Office15 \ OUTLOOK.EXE”
答案 1 :(得分:0)
以上引用C:\PsTools\PsExec.exe \\remote-computer-name or IP address -u "username" -p "password" "path_to_outlook.exe_on remote_computer"
要求您首先登录服务器。否则它会启动Outlook,但不会下载新的电子邮件。