windows安装filebeat服务报错

cmd进入filebeat目录下
 
用以下命令执行:
PowerShell.exe -ExecutionPolicy UnRestricted -File .install-service-filebeat.ps1
原文地址:https://www.cnblogs.com/liqing1009/p/9017070.html