Invoke-PSUScript Throwing Errors Due to Parameter

Product: PowerShell Universal
Version: 4.2.14

A few different scripts I have that call other scripts within them using Invoke-PSUScript are throwing the following error

[error] Value cannot be null. (Parameter 'value') 

Neither script have a parameter called “value” and one of the scripts doesn’t have parameters at all. The other script has one mandatory parameter that is being filled out when I call the script. All scripts are being run with the latest version of powershell core

Here are the parameters for the script that has parameters:

param(
    [parameter(Mandatory)]
    $AzureID,
    [parameter()]
    [switch]$EXO = $false
)

forgot to mention, the nested jobs (the scripts being called by invoke-psuscript) are successful when called

Invoke-PSUScript: Value cannot be null. (Parameter ‘value’) - PowerShell Universal - Ironman Software Forums

Verified that 4.2.15 resolved this issue

1 Like