Injunctions and enforcement measures. Any building erected, constructed, altered, enlarged, located, converted, moved or used contrary to any of the provisions of this chapter, and any use of any land or any building which is conducted, operated or maintained contrary to any of the provisions of this chapter, shall be and the same is hereby declared to be unlawful. The Code Enforcement Officer may issue a stop-work order or seek an injunction, mandamus, abatement or any other appropriate action to prevent, enjoin, abate or remove such erection, construction, alteration, enlargement, location, conversion or use in violation of any of the provisions of this chapter. The Code Enforcement Officer shall serve notice, personally or by certified mail addressed to the premises of such violation, on the person or corporation committing or permitting the same, and if such violation does not cease within such time as the Code Enforcement Officer may specify and a new certificate of occupancy is not obtained, the Code Enforcement Officer shall institute such of the foregoing actions as may be necessary to terminate the violation. Such notice may also be served by posting on the premises.