Yoga will help with posture; it strengthens the muscles along the spine, and makes the body more balanced and aware. However it is not an overnight cure, the results come little by little as long as you keep up with the practise. The best thing is to simply enjoy the practise, make room for it in your daily life, and be pleasantly surprised when you begin to see improvements.