Thanks, Jordan. I've already tried that, and here's the return:
fatal: [kcrook10]: FAILED! => {"changed": true, "cmd": "powershell.exe -ExecutionPolicy Bypass -File C:\\temp\\command_update.ps1 -ConsoleTitle \"Dell Command | Update\"", "delta": "0:00:00.546000", "end": "2018-10-18 08:24:45.319793", "msg": "non-zero return code", "rc": 1, "start": "2018-10-18 08:24:44.773793", "stderr": "At C:\\temp\\command_update.ps1:232 char:8\r\n+ } else {\r\n+ ~\r\nMissing closing '}' in statement block or type definition.\r\n + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx \r\n ception\r\n + FullyQualifiedErrorId : MissingEndCurlyBrace\r\n \r\n", "stderr_lines": ["At C:\\temp\\command_update.ps1:232 char:8", "+ } else {", "+ ~", "Missing closing '}' in statement block or type definition.", " + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ", " ception", " + FullyQualifiedErrorId : MissingEndCurlyBrace", " "], "stdout": "", "stdout_lines": []}
Any other ideas?