We have published a script to retrieve property of Analysis Services object like server, database, cube or dimension. Enjoy.