System.Management.Automation.RuntimeException: You cannot 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.InvokeMethod(Object target, Object[] arguments, Object value) at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context) at System.Management.Automation.AssignmentStatementNode.Execute(Array input, Pipe outputPipe, ExecutionContext context) at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context) At line:143 char:45 + $topicName = $topic.Name.Replace <<<< (".help.txt","")
Microsoft.PowerShell.Commands.HelpNotFoundException: Cannot find Help for topic "Writing CRUD in Pipeworks". At line:149 char:37 + Topic = Get-Help <<<< $topicName