Minn. Stat. § 518.131
Subd. 1. Permissible orders.
In a proceeding brought for custody, dissolution, or legal separation, or for disposition of property, maintenance, or child support following the dissolution of a marriage, either party may, by motion, request from the court and the court may grant a temporary order pending the final disposition of the proceeding to or for:
Subd. 2. Impermissible orders.
No temporary order shall:
Subd. 3. Ex parte restraining order; limitations.
A party may request and the court may make an ex parte restraining order which may include any matter that may be included in a temporary order except:
Subd. 4. Hearing on restraining order; duration.
Restraining orders shall be personally served upon the party to be restrained and shall be accompanied with a notice of the time and place of hearing for disposition of the matters contained in the restraining order at a hearing for a temporary order. When a restraining order has been issued, a hearing on the temporary order shall be held at the earliest practicable date. The restrained party may upon written notice to the other party advance the hearing date to a time earlier than that noticed by the other party. The restraining order shall continue in full force and effect only until the hearing time noticed, unless the court, for good cause and upon notice extends the time for hearing.
Subd. 5. Duration of temporary order.
A temporary order shall continue in full force and effect until the earlier of its amendment or vacation, dismissal of the main action or entry of a final decree of dissolution or legal separation.
Subd. 6. Effect of dismissal of main action.
If a proceeding for dissolution or legal separation is dismissed, a temporary custody order is vacated unless one of the parties or the child's custodian moves that the proceeding continue as a custody proceeding and the court finds, after a hearing, that the circumstances of the parties and the best interests of the child require that a custody order be issued.
Subd. 7. Guiding factors.
The court shall be guided by the factors set forth in sections 518.551 (concerning child support), 518.552 (concerning maintenance), 518.17 to 518.175 (concerning custody and parenting time), and 518.14 (concerning costs and attorney fees) in making temporary orders and restraining orders.
Subd. 8. Basis for order.
Temporary orders shall be made solely on the basis of affidavits and argument of counsel except upon demand by either party in a motion or responsive motion made within the time limit for making and filing a responsive motion that the matter be heard on oral testimony before the court, or if the court in its discretion orders the taking of oral testimony.
Subd. 9. Prejudicial effect; revocation; modification.
A temporary order or restraining order:
Subd. 10. Misdemeanor.
In addition to being punishable by contempt, a violation of a provision of a temporary order or restraining order granting the relief authorized in subdivision 1, clause (g), (h), or (i), is a misdemeanor.
Subd. 11. Temporary support and maintenance.
Temporary support and maintenance may be ordered during the time a parenting plan is being developed under section 518.1705.