When a product key is in a wrong format, the function CheckConfigFiles try to throw error. Part of the error message is formed by running "$(Split-Path -Path $inputFile -Leaf)`". $inputFile is referenced here but the function definition does not have an input parameter to accept it.
When a product key is in a wrong format, the function CheckConfigFiles try to throw error. Part of the error message is formed by running "$(Split-Path -Path $inputFile -Leaf)`". $inputFile is referenced here but the function definition does not have an input parameter to accept it.
Referenced file: SP/Automation/AutoSPInstallerModule.ps1m Line: 295