lambaste

- Criticize (someone or something) harshly

... Before he was fired for his poor performance, Frank was lambasted by his boss in front of his coworkers.