A yellow weather warning for snow and ice will last until noon on Thursday, covering all areas apart from Shetland.