A New Hampshire police officer was struck by a vehicle and taken to the hospital for evaluation, authorities said.