A good and tricky question: official pwcorr does not store these results, Stata compnay have their "good" reasons and there are a lot of debates on this. But a user-written command can help you get it.
ssc install matpwcorr, replace
sysuse auto, clear
matpwcorr price headroom,gen //the new generated variable "corr" and "pv" should be what you want