Pompey survived playing the final quarter with just 10 men to secure victory over Shrewsbury.
And the 2-1 success at Montgomery Waters Meadow ensured they climbed up to fifth in the League One standings.
Goals from Marcus Harness and John Marquis ensured the Blues took a commanding lead into the interval.