At the conclusion of a dispositional hearing under this article, the court may enter an order:
No order of protection may direct any party to observe conditions of behavior unless the party requesting the order of protection has served and filed a petition or counter-claim in accordance with section one hundred fifty-four-b of this act. Nothing in this section shall preclude the issuance of a temporary order of protection ex parte, pursuant to section eight hundred twenty-eight of this article.
Nothing in this section shall preclude the issuance of both an order of probation and an order of protection as part of the order of disposition.
Notwithstanding the foregoing provisions, an order of protection, or temporary order of protection where applicable, may be entered against a former spouse and persons who have a child in common, regardless of whether such persons have been married or have lived together at any time, or against a member of the same family or household as defined in subdivision one of section eight hundred twelve of this article.
N.Y. Family Court Law § 841