When power to sell, mortgage, lease, or exchange property of the estate has been given to a personal representative under the terms of a will, the personal representative may proceed under the power, or, consistent with the provisions of the will, may proceed under the provisions of the Probate Code, as he or she may determine.