'How to refresh analysis service database using Powershell

What Powershell command refreshes a database in analysis service (SSAS)? I would like to see server parameter and database name parameter too. Also, I want to do a full refresh.



Solution 1:[1]

Invoke-ProcessASDatabase -Server servername -DatabaseName "databasename" -RefreshType Full

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1