Installing or Upgrading CRM
Remote Powershell install
for examples on installing CRM with powershell this page generates a powershell script that is supposed to perform the install. Link. A word of caution, I have not run any of the scripts and I would be leary to put any of my real server info into the form. But at a minimum it will get you and example.