Jennifer Lopez cuts an androgynous figure as she turns sexy cop for upcoming crime drama Shades Of Blue

From singing to acting, it seems Jennifer Lopez isn't afraid to roll up her sleeves to do a job justice. 

And while filming Shades of Blue in New York, the 45-year-old went dumpster diving to retrieve an olive green duffle bag.

The 45-year-old was surrounded by the production team when she flung the prize into the air. 

Scroll down for video 

Every need covered: Jennifer Lopez looked ultra glamorous as a sexy cop in Shades Of Blue filming in New York on Friday

Every need covered: Jennifer Lopez looked ultra glamorous as a sexy cop in Shades Of Blue filming in New York on Friday

The pop star's makeup was immaculately done for the rather taxing scene.

Jennifer looked flawless thanks to her bouncy curls that hovered over her famous face, which was highlighted with bronze blush and earthy eye shadow.

She wore a white blouse which was partially unbuttoned and tucked into a pair of loose black trousers with a gun slung around her waist.

Not afraid to get her hands dirty! Jennifer  went dumpster diving while filming Shades Of Blue

Not afraid to get her hands dirty! Jennifer went dumpster diving while filming Shades Of Blue

No fashion police needed! The pop star looked stylish in her uniform, which consisted of a white shirt and black trousers
Sexy detective chic: Jennifer, 45, worked the smart look

No fashion police needed! The pop star looked stylish in her uniform, which consisted of a white shirt and black trousers

Time out: The chart-topper looked to briefly drift off as she took a break in between shooting scenes

Time out: The chart-topper looked to briefly drift off as she took a break in between shooting scenes

Propped against the dumpster, Jennifer looked studious as she appeared to take direction from an off-camera crew member. 

When Jennifer wasn't sifting through the trash, the actress looked poised and polished as she strolled through the set.

The Waiting For Tonight singer smiled as she made her way across the concrete, and at one point was shaded from the sun by an assistant carrying a large umbrella.

Catching some rays: The mother-of-two lifted her hair up from her neck to catch some sun

Catching some rays: The mother-of-two lifted her hair up from her neck to catch some sun

And action! The star appeared to be awaiting direction as she clung to the dumpster

And action! The star appeared to be awaiting direction as she clung to the dumpster

Grabbing the goods: J.Lo rifled through the prop dumpster

Grabbing the goods: J.Lo rifled through the prop dumpster

Getting in that shade: The actress walked beside a crew member, who carried an umbrella over the star

Getting in that shade: The actress walked beside a crew member, who carried an umbrella over the star

The actress was also sporting a chic beige trench coat once again.

Jennifer has been hard at work filming the upcoming NBC drama, which sees her star as Detective Harlee McCord in the 13-episode series alongside Ray (Bill Wozniak) and Drea (Detective Shirley Nazario).

Recruited to work undercover as part of the FBI's internal anti-corruption task force, Harlee finds herself torn as she works against her fellow officers, while also juggling the never-ending demands of motherhood.

Flawless: Jennifer's makeup was impeccably done and her hair looked voluminous thanks to a bouncy blowdry

Flawless: Jennifer's makeup was impeccably done and her hair looked voluminous thanks to a bouncy blowdry

Beautiful: J.Lo was a vision of glamour as she rested on the set of Shades of Blue

Beautiful: J.Lo was a vision of glamour as she rested on the set of Shades of Blue

She has already released a teaser video for the show.

Jennifer can be seen saying: 'We know that certain things are wrong, but in certain situations, doing the wrong thing is the right thing.

'It's about that internal struggle that every single person has.' 

Shades of Blue is a 13-episode series which will air on NBC. 

Show stopping: The actress looked fantastic with a beige coat thrown over her look

Show stopping: The actress looked fantastic with a beige coat thrown over her look

The comments below have not been moderated.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

By posting your comment you agree to our house rules.

Who is this week's top commenter? Find out now