Scots have been told to brace for snow with a cold weather warning issued for the entire country.