Parts of the New South Wales coast have been buffeted by 100km/h winds as a storm front blew through Sydney.