Would something like this do the trick ?
$count=0
$maxWait=10
Do {
$count+=1
Write-Output"$(get-date-fHH:mm:ss)$(get-date-fdd/MM/yyyy) - Host is online"
sleep5
} While ((Test-Connection192.168.110.85-BufferSize16-Count1-Quiet) -or ($count-gt$maxWait))
if($count-gt$maxWait){
Write-Output"Host still online"
}
else{
Write-Output"$(get-date-fHH:mm:ss)$(get-date-fdd/MM/yyyy) - Host is offline"
}