I've modified the script you provided, added Ansgar's suggestions & a little code of my own to come up with the following souped-up version. Skarykid - I know you received and answer to this almost 6 months ago, but I've been looking for a similar script & haven't had much success getting exactly what I wanted. WScript.Echo "Estimated Size: " & Round(intValue5/1024, 3) & " megabytes" WScript.Echo "Version: " & intValue3 & "." & intValue4 ObjReg.GetDWORDValue HKLM, strKey & strSubkey, _ WScript.Echo "Install Date: " & strValue2 WScript.Echo VbCrLf & "Display Name: " & strValue1 ObjReg.GetStringValue HKLM, strKey & strSubkey, _ IntRet1 = objReg.GetStringValue(HKLM, strKey & strSubkey, _ WScript.Echo "Installed Applications" & VbCrLf Set objReg = GetObject("winmgmts://" & strComputer & _ StrKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" Set fso = WScript.CreateObject("Scripting.Filesystemobject")Ĭonst HKLM = &H80000002 'HKEY_LOCAL_MACHINE What do I need to add to the vbs to make it output each of the echos to a File? I am sure this is easy, but i can't seem to find a solution. When I currently run it as I have found it the echo comes up as a host echo pop up. I was able to find an existing code to list all of the software (including name, version, date, and size). I am attempting to write a VBScript that will list all of the installed application on a system in a text file or csv.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |