After service of notice and written questions, and prior to the taking of the testimony of the deponent, the court in which the action is pending, on motion promptly made by a party or a deponent and upon notice and good cause shown, may make any order specified in Rule 23.7 which is appropriate and just or it may make an order that the deposition shall not be taken before the person designated in the notice or that it shall not be taken except upon oral examination.