Create a Powershell script to automatically email all the groups for PNR Windows OS Security Patching
Please log in to answer
Posted by: rileyz 4 years ago
Google that shizzle my friend!
A few things to keep in mind.
- The PowerShell version you are using, some cmdlets wont work in older versions of PS.
- How you send your email, via exchange etc.
- How will you get the script to run at the end of patching, is there a way to tack it on at the end?
- Whos owns the server, how will the dynamic email work? Maybe stored the server owner in the registry and the script will pull it. Or have a CSV and get the script to match the server name in the csv to the email address.
Tips for a noob: start small with the PowerShell ISE and build up the script.
Another solution, talk to a secretary (male or female of course) and get the them to help you make a mail merge!