Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

WSUS Powershell cmdlet

$
0
0

Hi

Im trying to run the following script copied from TechNet. When I do it works just as it is supposed to, but it doesn't approve updates with license agreements that need to be accepted. Is there a way to add approval of the Software License Terms to the script to allow for all updates to be approved.

Get-WsusUpdate-ClassificationAll-ApprovalUnapproved-StatusFailedOrNeeded|Approve-WsusUpdate-ActionInstall-TargetGroupName"Test-SERVER"

Thanks in advance

Anders


Viewing all articles
Browse latest Browse all 8583

Trending Articles