Windows server 2008 send email from script
Active Oldest Votes. Improve this answer. Greenstone Walker Greenstone Walker 1, 9 9 silver badges 8 8 bronze badges. I have tried it from my dev workstation and it doesn't send an email, I get the same error. I will look at what you have suggested. Thanks — Pricey. Need to check that the server target is specified correctly in the Connection Manager. The problem was that the server had changed to use something other than the default TCP port.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. If I click "cancel" then the script works and the email gets sent.
I have not used this script on a 64bit machine before so it could be a 64bit problem. Any ideas why the logon box pops up and what I can do about it? The content you requested has been removed. Learn More. Ask a question. Quick access. JamesArmes JamesArmes 3 3 silver badges 9 9 bronze badges. You should install updates manually This server is in production. Can I send email notifications when new updates are available then?
Add a comment. Active Oldest Votes. Here is a portion of a PowerShell script I have set to run daily on a few of my servers. Improve this answer. Christopher Christopher 1, 12 12 silver badges 17 17 bronze badges. Are you using WSUS? Hopefully that makes sense. Trevor Sullivan Trevor Sullivan 1, 2 2 gold badges 12 12 silver badges 19 19 bronze badges. Mitch Mitch 1, 11 11 silver badges 19 19 bronze badges. The problem is that I don't want it to reboot; I just want it to email me when it needs to reboot to finish installing updates.
You get to choose which event log alert to use as the trigger. This doesn't actually reboot the server this will email you based on the event log entry you choose.
Sign up or log in Sign up using Google. Sign up using Facebook.
0コメント