A Fall River man accused of defrauding Hewlett Packard out of almost $288,000 was arraigned Thursday in Fall River Superior Court.

Frank M. Stanley, 39, a former Hewlett Packard employee, was ordered to return to court on July 31 for a pretrial conference.

Brian Fraga

A Fall River man accused of defrauding Hewlett Packard out of almost $288,000 was arraigned Thursday in Fall River Superior Court.

Frank M. Stanley, 39, a former Hewlett Packard employee, was ordered to return to court on July 31 for a pretrial conference.

Stanely allegedly ordered unauthorized parts from the company and then sold them for his own profit, according to the Massachusetts Attorney General’s Office. On May 2, a Bristol County grand jury indicted Stanley on a single count of larceny over $250 by a single scheme.

The attorney general’s office said it began an investigation after Hewlett Packard found potential impropriety during an internal investigation.

Stanley was an HP technical support representative who worked primarily from his home, authorities said.

Coakley said the investigation revealed that between November 2009 and March 2012, Stanley ordered more than 150 unauthorized computer server central processing units. It is alleged that he then shipped those units to a contractor in California in return for payments via the Internet.