The NYPD has ordered all cops to report in uniform starting Friday in anticipation of potential unrest stemming from a call by the former leader of Hamas to stage global demonstrations in support of Palestinians, The Post has learned.

“All uniformed members of the service in every rank, will perform duty in the uniform of the day and be prepared for deployment,” read a Wednesday night memo sent to all NYPD members.

Cops will not be granted excusals or shift changes and the order will remain in effect “until further notice,” according to the memo.

The directive was issued after Khaled Meshaal, who served as chief of Hamas from 2004 to 2017, called on the Islamic world to stage protests on Friday.

The NYPD is also beefing up security at all of its 77 police precincts, assigning additional cops to monitor entryways and parking areas at the stationhouses,