Been there, done that.
I was invited into a company that was going through bankruptcy, and the previous C-level folks had already been indited for federal crimes.
I was given a short list of people to invite to leave, and full control to clear the slate of the entire IT staff, should I decide to.. Basically, I was to cut them all loose and start over, which as we all know is suicide. When I was ready for those who weren't team players, and detrimental to the company, the CEO said no. Hrm.
I was given laundry lists of things to do, and no budget to do it with. Some were little things like, desktops that were a decade old. Servers that were past EOL by any standards. I presented very reasonable plans for both, which were indefinitely delayed until they were almost too late.
I kept things mostly moving forward for the duration. When the bankruptcy was done, I was promised lots of things. Eventually, the new owner cut loose everyone that was not primarily at the home office. That was directly contrary to the CEO's continued assurances.
That night, I drank heavily and celebrated.
Now I'm doing SysAdmin work again. I get stuff done. I don't have to make grand decisions. I don't do presentations for company changing projects. I don't even have to hire or fire anyone. I understand more of the crap that management goes through, even though I do my best to isolate myself away from office politics. I have the luxury of going home when the work is done, and no one bothers me until the next work morning.