The Login PI Logon Script is triggered via a cmd file, by default. However, it is also possible to only use PowerShell scripts. PowerShell gives you the ability to add extra debug logging and convert the logon script(s) into executables.
1. Download the "PI PS Logonscript.zip" (see attachment)
2. Change the API URL in the PILogon.ps1 with your Login PI API URL
3. Replace the logon script for the users with PILogon.ps1
4. Replace the C:\Program Files\Login PI\target\scripts\bootstrapper.cmd on the Login PI Server with the bootstrapper in the zip file