I'm going to attempt to replace the rotten, neglected entrance stairs at home, and in my naivety, I thought it was just the railing that was rotten, but with a little pressure test with a screwdriver, I was able to press into the post as well.
I assume that the post must remain since it definitely supports the entire corner, and it's just as much work to replace the whole thing as to replace the damaged material?
Prop it up, unscrew the old post, and screw in a new one, anything that should be done differently or improved?
Overview
Rotten
Inside the attic
There you can see the angle bracket the post is screwed into, haven't seen if there's more, but I might have to tear down the undersiding to check.