The Australian sharemarket enjoyed a positive end to the week, spurred on by the energy sector but dogged by embattled IT firm WiseTech Global.