This is a PowerShell script that will run each of the ETL (Extract-SM, Extract-DW, Transform, Load) jobs for the data warehouse in sequence and then the Deployment and Cube Processing Jobs.

PowerShell Script to Run ETL and Cube Processing in Sequence @ TechNet Gallery