Install SharePoint Server 2010 by using Windows PowerShell

 

This article discusses how to do a clean installation of Microsoft SharePoint Server 2010 on a stand-alone server or on a server farm by using Windows PowerShell.

https://technet.microsoft.com/en-us/library/cc262839.aspx