Jsem pripojeny sam. ten predchozi obrazek co tam jsou jen S-1-0-1 je tvuj skript: $filterHash = @{LogName = "Security"; Id = 4625; StartTime = (Get-Date).AddDays(-10)}
$lockoutEvents = Get-WinEvent -FilterHashTable $filterHash -ErrorAction SilentlyContinue
# Building output based on advanced properties
$lockoutEvents | Select @{Name = "BadPWUser"; Expression = {$_.Properties[0].Value}}, `
@{Name = "SourceComputer"; Expression = {$_.Properties[1].Value}}, `
@{Name = "DomainController"; Expression = {$_.Properties[4].Value}}, TimeCreated
a tento druhy obrazek je z: $filterHash = @{LogName = "Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational"; Id = 131; StartTime = (Get-Date).AddDays(-10)}
$lockoutEvents = Get-WinEvent -FilterHashTable $filterHash -ErrorAction SilentlyContinue
# Building output based on advanced properties
$lockoutEvents | Select @{Name = "Transport"; Expression = {$_.Properties[0].Value}}, `
@{Name = "Client"; Expression = {$_.Properties[1].Value}}, `
TimeCreated Mirku, mohl bych na tebe dostat kontakt?