We often get questions from customers who want to know from where their clients are receiving updates when multiple sources are configured (including, online, WSUS and other). It can be quite cumbersome to determine which source is offering a particular update. Recently, I learnt that there are two simple PowerShell Cmdlets that enable the discovery of sources offering Updates to the Client.
These commands make it easy to understand how updates are configured for a particular client.
PS C:\WINDOWS\system32> $MUSM = New-Object -ComObject “Microsoft.Update.ServiceManager”
PS C:\WINDOWS\system32> $MUSM.Services