Hi, I am following the steps mentioned in the document
to install filebeat on windows.
but when i run the following command
PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1
i am getting the following error
PS C:\Program Files\Filebeat> PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1 The argument '.\install-service-filebeat.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6
Same when i try it from command prompt also as admin in both cases.
Please help me understand where i am going wrong with the installation