EvotecIT/PSWinReporting

[-] Event Log Error on <server>: The RPC server is unavailable

PrzemyslawKlys opened this issue · 0 comments

If the error occurs it means Remote Event Log Management firewall is not enabled. Fixing with PowerShell

$DC = Get-ADDomainController -Filter *
Invoke-Command -ComputerName $DC.HostName {
    Set-NetFirewallRule -DisplayGroup 'Remote Event Log Management' -Enabled True -PassThru | select DisplayName, Enabled
}