uj könyvtär Scripts

This commit is contained in:
2025-12-15 10:00:38 +01:00
parent c06d51509d
commit 0c3b5e75a6
43 changed files with 1957 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# RDP események exportálása CSV-be
Get-WinEvent -LogName "Microsoft-Windows-TerminalServices-LocalSessionManager/Operational" `
| Where-Object { $_.Id -in 21,22,23,24,25,39,40,41 } `
| Select-Object TimeCreated, Id, LevelDisplayName, Message `
| Export-Csv "C:\Logs\RDP_LocalSessionManager.csv" -NoTypeInformation -Encoding UTF8
Get-WinEvent -LogName "Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational" `
| Select-Object TimeCreated, Id, LevelDisplayName, Message `
| Export-Csv "C:\Logs\RDP_RemoteConnectionManager.csv" -NoTypeInformation -Encoding UTF8
Get-WinEvent -LogName "System" | Where-Object { $_.Id -eq 56 -and $_.ProviderName -eq "TermDD" } `
| Select-Object TimeCreated, Id, LevelDisplayName, Message `
| Export-Csv "C:\Logs\RDP_TermDD.csv" -NoTypeInformation -Encoding UTF8