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.