Any justice or judge may issue such writs for witnesses, in cases pending before himself or herself or any other justice or judge, in any case in any court, in all matters before the general court, or before auditors, referees, arbitrators or commissioners.
N.H. Rev. Stat. Ann. § 516:3
Issue of Summons by Justices or Judges
Source
Official source: New Hampshire General Court. Reproduced from public-domain New Hampshire statutes; confirm against the official source for the current text. Not legal advice.