Windows 2012 R2 Server
SQL 2012 Enterprise
I found this power shell script that runs in 3 stages to cleanup WSUS databases.
Back on WSUS 3.2 you had wsuscleanup.exe program that I had running and it would email me the Cleanup Results.
This script I have it emailing me but I cant get the Cleanup Results to be sent in the email
When I run the script from power shell it does produce the clean up results at the end of the script to the console.
How do I get the cleanup results output into the email?
See attached script
Thanks in advance