我有一个在服务器(test-server)上运行的PowerShell脚本,用于读取他的客户端(DC1)的日志文件。
- Both sides can ping to each other.
- On both sides, firewalls are disabled.
Remote Desktop and Remote Assistance are enabled on DC1.
Get-EventLog System -ComputerName test-server -Source Microsoft-Windows-Winlogon # WORKS Get-EventLog System -ComputerName DC1 -Source Microsoft-Windows-Winlogon # DOESN'T WORK
![enter image description here](https://istack.dev59.com/GhQxD.webp)