The code and ordinance enforcement officer may exercise such powers as may be necessary or convenient to carry out and effectuate the purpose and provisions of this article, including the following powers in addition to others granted in this division: (1) To investigate the dwelling conditions in the unincorporated area of the county in order to determine which dwellings, buildings, or structures therein are unfit for human habitation or are unfit for current commercial, industrial, or business use. (2) To enter upon premises for the purpose of making examinations; provided, however, that such entries shall be made in such manner as to cause the least possible inconvenience to the persons in possession.