A State Police trooper was shot in Hyannis on Friday night.