Eventlogs: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „ === Standard EventLogs (Windows Logs) === ==== Letze 10 Application EventLogs anzeigen ==== <source lang="powershell">Get-EventLog -Newest 10 -LogName "Applic…“)
 
K
Zeile 5: Zeile 5:
  
 
=== Spezielle EventLogs (Application and Services Logs) ===
 
=== Spezielle EventLogs (Application and Services Logs) ===
<source lang="powershell">Get-WinEvent -ComputerName fppw7201 -ProviderName 'Microsoft-Windows-Hyper-V-VMMS' -MaxEvents 10 | ft -Property TimeCreated, MachineName, Id, LevelDisplayName, Message</source>
+
<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