Same error i got see below:
At line:71 char:4+ }+ ~The Try statement is missing its Catch or Finally block.At line:77 char:1+ cls+ ~~~Unexpected token 'cls' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : MissingCatchOrFinally
Getting the following error: GetUserLoggedOnto.ps1:71 char:4+ }+ ~The Try statement is missing its Catch or Finally block. + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : MissingCatchOrFinally
My bad, I copied the internal script earlier, I have uploaded the correct one now.