The Office Season 7 Episode 23
Dwight K. Schrute, (Acting) Manager
The Office is functioning well without a supervisor, but that didn't last long. Jo offers the position of Acting Manager to Jim, but he turns it down. When Dwight then accepts the position, the office gets turned upside down.
Dwight installs punch cards, removes the food from the vending machines, and charges fifty cents for coffee in the break room. After accidentally firing his gun off in the office, everyone black mails him into doing things for them. Instead of pandering to all the employees, Dwight admits his fault to Jo, and she relieves him of his duty.