Winlogbeat Installation using Powershell ISE


I am following the installation instructions for Winlogbeat here:

However, I am running the code in the install-service-winlogbeat.ps1 file in Powershell ISE. The code\script returns the following error from this line: $workdir = Split-Path $MyInvocation.MyCommand.Path

Split-Path : Cannot bind argument to parameter 'Path' because it is null.

Is this due to running the code in ISE or is their a bug in the provided installation script from Elastic?


I've never seen that error when running outside of ISE. So I'd assume it's something with the running it in ISE. My guess is this:

Can you trying installing it without using Powershell ISE.

Yep - that seemed to work. ISE = bad juju. :slight_smile:

This topic was automatically closed after 21 days. New replies are no longer allowed.