Error in AutoSPInstallerModule.psm1
I download the script yesterday and was having issues with the script if it was outputting an error (i didn't enter a PIDKey) or warning (for access services as only using a standard key). I did a quick find and replace for $inputFile and changed it to $script:inputFile in AutoSPInstallerModule.psm1 and all was working fine.
Here is the error Output. Exception : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Path' because it is null. at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) TargetObject : CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCommand ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo ScriptStackTrace : at CreateAccess2010ServiceApp, C:\SP\Automation\AutoSPInstallerModule.psm1: line 5913 at Set-ServiceConfig, C:\SP\Automation\AutoSPInstallerMain.ps1: line 251 at <ScriptBlock>, C:\SP\Automation\AutoSPInstallerMain.ps1: line 430 at <ScriptBlock>, <No file>: line 1 PipelineIterationInfo : {} PSMessageDetails :
How are you launching (or what command are you using to launch) the script?