Script to get the manager hierarchy
Came across an interesting question here where the questioner requested for a solution which could give them the entire hierarchy of a user's manager (manager's manager and so on) till the topmost person without a manager in the most performant way. ...