Unable to use "param" with Powershell Scripts in PowerShell Posted April 25, 2023 I have the same issue, I have found the script works fine deployed via Pulseway on Windows 10 but fails on Windows 11. The script works fine when run locally in PowerShell on both OS.
Unable to use "param" with Powershell Scripts in PowerShell Posted April 25, 2023 On 4/22/2023 at 12:57 AM, Brandonn said: You are using parameters outside of a function. Parameters can only be defined inside of a function, otherwise you are essentially trying to run the 'param' command. For example: Hi. Can you repost your images I can not see them. Thanks, Richard
Unable to use "param" with Powershell Scripts
in PowerShell
Posted
I have the same issue, I have found the script works fine deployed via Pulseway on Windows 10 but fails on Windows 11.
The script works fine when run locally in PowerShell on both OS.