mgajda83 / PSWindowsUpdate

This module contain cmdlets to manage Windows Update Client.
MIT License
253 stars 24 forks source link

pulling from WSUS instead of MS #20

Open ccheath opened 2 months ago

ccheath commented 2 months ago

I searched the repo for 'wsus' and only found reference to the wsusscn2.cab file (which I don't think is really related to using WSUS instead of the MS source for updates...

Is there a way to choose the source for the updates?

j81blog commented 2 weeks ago

You could try this? Set-WUSettings -WUServer "wsusserver.domain.local" -AcceptTrustedPublisherCerts -DisableWindowsUpdateAccess -TargetGroupEnabled -UseWUServer or Set-WUSettings -TargetGroup "TargetGroup" -WUServer "wsusserver.domain.local" -AcceptTrustedPublisherCerts -DisableWindowsUpdateAccess -TargetGroupEnabled -UseWUServer

ccheath commented 2 weeks ago

When I run Get-WUSettings it shows my WUServer information already (set by GPO). So as long as I don't use the -MicrosoftUpdate switch it should be using my WSUS?