The Hoops had struggled to break down a well-organised Peterhead defence before the Irishman slotted the ball home eight minutes before the break.
And Stokes drilled home a second after 57 minutes after linking up with Emilio Izaguirre before netting a third in the closing stages to end any hopes of a Blue Toon comeback.
Source: PA
Source: PA