Script halt: after wildcard cert
I've been trying to get the scripted install to work for longer than I care to admit publicly. I keep running into an issue where the script halts immediately after the -Certificate "" found line on the host output. Any thoughts on what's wrong here?
xml, and rtf output attached
Thanks, Steve
- Looking for existing "*.foo.com" wildcard certificate...
- Certificate "" found.
--------------------------------------------------------------
- Script halted!
Exception : System.Management.Automation.RuntimeException: You cann
ot call a method on a null-valued expression.
at System.Management.Automation.ParserOps.CallMethod
(Token token, Object target, String methodName, Object[
] paramArray, Boolean callStatic, Object valueToSet)
at System.Management.Automation.MethodCallNode.Invok
eMethod(Object target, Object[] arguments, Object value
)
at System.Management.Automation.MethodCallNode.Execu
te(Array input, Pipe outputPipe, ExecutionContext conte
xt)
at System.Management.Automation.ArrayReferenceNode.E
xecute(Array input, Pipe outputPipe, ExecutionContext c
ontext)
at System.Management.Automation.ExpressionNode.Execu
te(Array input, Pipe outputPipe, ExecutionContext conte
xt)
at System.Management.Automation.AssignmentStatementN
ode.Execute(Array input, Pipe outputPipe, ExecutionCont
ext context)
at System.Management.Automation.StatementListNode.Ex
ecuteStatement(ParseTreeNode statement, Array input, Pi
pe outputPipe, ArrayList& resultList, ExecutionContext
context)
TargetObject : Split
CategoryInfo : InvalidOperation: (Split:String) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {}
PSMessageDetails :