An example project for doing automated deployment and testing with Microsoft Analysis Services Tabular Models. See blog posts here and here for a detailed walkthrough.
.\deploy_model.ps1 -workspace c:\develop\tabular-automation -environment validation -analysisServicesUsername test_ssas -analysisSer
vicesPassword test_ssas
.\refresh.ps1 -environment validation -analysisServicesUsername test_ssas -analysisServicesPassword test_ssas