186 Benutzer online
21. Juli 2025, 19:35:51

Windows Community



 Antworten / AufrufeThemen mit dem Stichwort astrosys
3
Antworten
6318
Aufrufe
VBS-Skript "listhotfixes.vbs" funktioniert nicht
Begonnen von PC-Freak
10. Februar 2008, 19:24:58
Ich hab im Internet folgendes Skript gefunden, es listet die installierten Updates auf. aber leider funktioniert es nicht.

[code]
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & strComputer & "\root\cimv2")
Set colQuickFixes = objWMIService.ExecQuery _
("Select * from Win32_QuickFixEngineering")

For Each objQuickFix in colQuickFixes

Wscript.Echo "Computer: " & objQuickFix.CSName
Wscript.Echo "Beschreibung: " & objQuickFix.Description
Wscript.Echo "Hotfix ID: " & objQuickFix.HotFixID
Wscript.Echo "Installationsdatum: " & objQuickFix.InstallDate
Wscript.Echo "Installiert von: " & objQuickFix.InstalledBy
Next
[/code]

Es kommt die Fehlermeldung im Anhang

win7win7 wscriptwscript compcomp strassstrass 9765301597653015 installiereninstallieren netzwerknetzwerk taskleistetaskleiste schnellstartleisteschnellstartleiste taskmanagertaskmanager installationsdatuminstallationsdatum wmicwmic abdockenabdocken 9375650593756505 20072007 20082008 malmal erstellterstellt wshwsh anheftenanheften execqueryexecquery colquickfixescolquickfixes impersonationimpersonation 8382954283829542 visualvisual dateidatei ohneohne patchespatches installierteinstallierte beispielebeispiele