![]() ![]() ![]() This is not my role in the company by the way, I was really just wondering if there is an API for windows update and how to use it. " | Out-File "$logPath\output-$date.html" Send-Mailmessage -To $smtpto -From $smtpfrom -SmtpServer $smtpserver -Subject $messagesubject -Body ( Get-Content $logpath\output-$date.html | Out-String ) -BodyasHtml # Remove all html files to prevent filling the disk Remove-Item "$logPath\output-$date. That way the updates are still applied automatically from a client-side perspective, but I can select which updates are being applied. KB4457146: Security update for Adobe Flash Player: September 11, 2018. The best solution for us would be a policy or registry setting we could set and include on our image that we use for all our deployments. Function Get-PendingUpdate " $style = $style "" # End HTML Output file style #SMTP options for sending the report email $smtpServer = "" $smtpFrom = $smtpTo = $messageSubject = "Windowsupdates available for $product" #$body = $output | ConvertTo-Html -head $style -body "Get Windows Updates" $output | ConvertTo-HTML -head $style -body " Step 1: Visit Microsoft Update Catalog website to download stand-alone package for below update: KB4457128: September 11, 2018KB4457128 (OS Build 17134.285) KB4456655: Servicing stack update for Windows 10, version 1803: September 11, 2018. Important Updates Are Pending Virus The machines are not on a domain, but we do have local admin rights to them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |