Beschreibung

mit Windows PowerShell kann man sich eine Protokolle zur Systemstatistik erstellen. Zum Beispiel ist es möglich den Verlauf von Windows Updates somit zu verfolgen!

In den unten stehenden Tabelle ist ein Beispiel zur Eingabe des Befehls:

Get-EventLog "NAME DES EVENT Kontainers Bsp.: System" | Where-Object {$_.EventID -eq "EVENTID Nummer"} | Out-File "Ausgabeort der Datei im TXT oder CSV Formats"

Get-EventLog system | Where-Object {$_.EventID -eq 21} | Out-File C:\temp\Update_Verlauf.csv

So sieht im Anschluss die Ausgabe aus (siehe unten)

Index Time   EntryType Source InstanceID Message  
----- ----   --------- ------ ---------- -------  
32627 Feb 13 21:34 Information Microsoft-Windows... 21 Neustart erforderlich:
20332 Jan 12 09:54 Information Microsoft-Windows... 21 Neustart erforderlich:
13899 Dez 25 18:09 Information Microsoft-Windows... 21 Neustart erforderlich:
8871 Dez 12 18:11 Information Microsoft-Windows... 21 Neustart erforderlich:
5086 Dez 05 21:05 Information Microsoft-Windows... 21 Neustart erforderlich:
3745 Dez 04 06:39 Information Microsoft-Windows... 21 Neustart erforderlich:
2985 Dez 03 20:56 Information Microsoft-Windows... 21 Neustart erforderlich:
2715 Dez 03 20:44 Information Microsoft-Windows... 21 Neustart erforderlich:

Die Erstellung der zeitgesteuerten Protokoll Erstellung mit adaptieren wird in kürze folgen ...