SP-WFE IIS log archiving - continued 2 (works but needs to be refactored)

SP-WFE IIS log archiving - continued 2 (works but needs to be
refactored)