Загрузка данных


Write-Host "`n=== RDP-TCP REGISTRY ===" -ForegroundColor Cyan; Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' | Format-List *; Write-Host "`n=== RCM EVENTS ===" -ForegroundColor Cyan; Get-WinEvent -LogName 'Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational' -MaxEvents 30 -ErrorAction SilentlyContinue | Select-Object TimeCreated,Id,LevelDisplayName,Message | Format-List