Eventlogs: Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ === Standard EventLogs (Windows Logs) === ==== Letze 10 Application EventLogs anzeigen ==== <source lang="powershell">Get-EventLog -Newest 10 -LogName "Applic…“) |
Admin (Diskussion | Beiträge) K |
||
Zeile 5: | Zeile 5: | ||
=== Spezielle EventLogs (Application and Services Logs) === | === Spezielle EventLogs (Application and Services Logs) === | ||
− | <source lang="powershell">Get-WinEvent -ComputerName | + | <source lang="powershell">Get-WinEvent -ComputerName <Hostname> -ProviderName 'Microsoft-Windows-Hyper-V-VMMS' -MaxEvents 10 | ft -Property TimeCreated, MachineName, Id, LevelDisplayName, Message</source> |
Version vom 31. Mai 2017, 09:12 Uhr
Standard EventLogs (Windows Logs)
Letze 10 Application EventLogs anzeigen
Get-EventLog -Newest 10 -LogName "Application"
Spezielle EventLogs (Application and Services Logs)
Get-WinEvent -ComputerName <Hostname> -ProviderName 'Microsoft-Windows-Hyper-V-VMMS' -MaxEvents 10 | ft -Property TimeCreated, MachineName, Id, LevelDisplayName, Message