Pompey produced a dominant home performance to ease past Gillingham at Fratton Park.
Ronan Curtis opened the scoring and added a second after Ryan Jackson had levelled for the struggling visitors.
And Danny Cowley's side wrapped up a 3-1 success when Clark Robertson headed home from a corner.