INstall filebeat on windows

Hi, I am following the steps mentioned in the document

elastic.co

Filebeat quick start: installation and configuration | Filebeat Reference...

to install filebeat on windows.
but when i run the following command

.\install-service-filebeat.ps1

or

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

It's best if you don't create multiple topics on the same question, it makes it harder for people to assist you.

See Install filebeat on windows.