This project is read-only.

Autoaccept eula.

Dec 13, 2013 at 12:29 PM
Edited Dec 13, 2013 at 2:39 PM

i read that you with this module autoaccept eula when approving updates.
But how ?

this is my code.

Set-executionpolicy unrestricted
Import-Module PoshWSUS
Connect-PoshWSUSServer -WsusServer server -port "8530"
$date = (get-date).AddDays(-30)
$update = Get-WsusUpdate -Classification All -Approval unapproved -status Any
$update | foreach {if ($_.Update.Creationdate -lt $date){
$currentupdate = $  
Approve-PoshWSUSUpdate -update $currentupdate  -Group "Live Group" -Action Install}}
this manages to autoapprove all updates except the eula ones.
Dec 20, 2013 at 3:28 PM
Approve-PoshWSUSUpdate does check if a license aggreement needs to be accepted and then accepts it. Can you give me an example of the update that you are trying to approve which has a EULA and didn't get approved?
Aug 7, 2014 at 10:15 PM
Hi Boe,

I know this is an old thread, and I'm not the OP, but I also am getting no results (literally, no error, no success, just back to the prompt).

A couple updates I experimented with were older ones ...

8f771ec5-fcd3-4a6b-ada6-7d6f0927f080 ... Update for Windows XP (KB920342)

5e4c85d0-5854-4aa1-b130-c79cd4683437 ... Network Monitor 3.1

Perhaps that's of use.

(using PoshWSUS v 2.2.1)