Restart MS SQL Server

How to restart MS SQL Server service on Windows using Powershell, by using elevated privileges.

Start-Process -Wait -Verb RunAs `
     -FilePath powershell `
     -ArgumentList @('-Command', 'Restart-Service -Name MSSQLSERVER')