Ryan Morris, 28, and Troy Nelson, 33, faced judge Greg Pinski last week in Montana in the US for violating the terms of their previous suspended sentences for other charges.
Morris was originally charged with burglary in 2017 after allegedly pinching goods worth $US1500 ($A2229) from his landlord.
Meanwhile, USA Today reports Nelson was charged with forgery and elder abuse last year after allegedly took money from his elderly neighbour’s bank account.
Both reportedly violated their release conditions, and Morris previously told a court he was a military veteran who had served in Iraq and Afghanistan and who had suffered post-traumatic stress disorder as well as physical injuries related to his service.
Nelson also lied about his military career and even enrolled in the Veterans Treatment Court.
When delivering their sentences for their violations, judge Greg Pinski focused on their lies about their service and said their behaviour was “abhorrent to the men and women who have actually served our country”.
“There are certain people — shameful people — who have not put their lives on the line for this country who portray themselves as having done so,” he said, according to Metro.
“You’ve been nothing but disrespectful in your conduct. You certainly have not respected the army.
“You’ve not respected the veterans. You’ve not respected the court. And you haven’t respected yourselves.”
Nelson, who was charged with felony criminal possession of dangerous drugs, was sentenced to five years in prison, with two years suspended.
Morris was charged with felony burglary and received a 10-year sentence, with three years suspended.
But both men also received several other conditions they must meet before they can be eligible for parole.
Judge Pinski ordered them to handwrite the names of all 6756 Americans killed in Iraq and Afghanistan and the obituaries of the 40 people from Montana who died.
They must also write letters of apology for their lies to groups and associations, including the American Legion, American Veterans, the Disabled American Veterans, the Iraq and Afghanistan Veterans of America, the Veterans of Foreign Wars and the Vietnam Veterans of America.
They must both serve 441 hours of community service, which represents one hour for each of the Montanans killed in combat since the Korean War.
Every year during the suspended portions of their sentences, the men must also stand at the Montana Veterans Memorial for eight hours on each Memorial and Veterans Day wearing a sign that reads: “I am a liar. I am not a veteran. I stole valour. I have dishonoured all veterans.”