开机启动

中文叫任务计划程序, 英文叫Task Scheduler, win + R 运行taskschd.msc

TIP

创建任务后, 运行账户需要使用SYSTEM

filebeat后台运行

powershell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1
Start-Service filebeat