Windows News
Mein PC Profil
REGISTRIEREN
Impressum
158
Benutzer online
22. Juli 2025, 04:33:03
Windows Community
Bitte
loggen sie sich ein
oder
registrieren sie sich
.
1 Stunde
1 Tag
1 Woche
1 Monat
Immer
Windows Forum
Windows 10 Forum
Windows 8 Forum
Windows 7 Forum
Windows Vista Forum
Windows XP Forum
Computer Hilfe Forum
Computer News Forum
Mein PC
Einloggen
Registrieren
Go Windows Forum
»
Computer-Stichworte
impersonation
»
impersonation
Seiten: [
1
]
Nach unten
Neues Thema erstellen
Antworten / Aufrufe
Themen mit dem Stichwort impersonation
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
installationsdatum
wmic
strass
93756505
2007
2008
mal
erstellt
wsh
anheften
execquery
colquickfixes
abdocken
83829542
visual
datei
ohne
patches
installierte
beispiele
probelm
qfe
skripten
d24
installiert
gefunden
updates
script
hotfixes
programmieren
weitere Antworten anzeigen »»
Seiten: [
1
]
Nach oben
[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