I have a question about the following script I found in here.
Why doesn't it show all the software? I am wanting to use this or something similar to remove software, but the particular software does not show up in the collection.
strcomputer="."
set objWMIService=GetObject ("winmgmts:impersonationlevel=impersonate}!\\" & strcomputer & "\root\cimv2")
set colsoftware=objWMIService.ExecQuery ("Select * from Win32_Product")
for each objsoftware in colsoftware
wscript.echo objsoftware.name
next