How to Deploy Agents on Multiple Servers

Hello team,
I have installed beat agents on single machine and I want to get them installed (filebeat) on 500 windows and 200 linux machine.

I don't want to login to each and every machine and install them. I want to run a powershell script or single step installation method to achieve this.
Has anyone ran into these issues? or accomplished it? Please help me out! thanks