This project is read-only.
1
Vote

Script halt: after wildcard cert

description

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      :

file attachments

comments

sstrigle wrote Dec 3, 2014 at 8:47 PM

Adding output attachment.

--The goal: scripted install of 2010 that builds the initial webapp, installs services except for BDC, and PerformancePoint. We won't be using mysites, outside of what's required for UPS.