Scotland was battered by hurricane-force winds on Friday, with residents forced indoors and urged to avoid travelling as Storm Éowyn swept across the country.