I need to find the number of approved updates that a machine needs. These are a mixture of Windows XP and Windows 7 computers. I'll be running this locally on each machine so I was hoping to find data such as the number of approved(pendingReboot,needed,downloaded.)
All the examples I've found so far only show how to return all the updates needed for the machine regardless of approval state. This is no good since I only care about the updates I've approved. Is Vbscript capable of getting this information from WSUS because most examples refer to Powershell or .net?