There is a question on how to rename an Analysis Services 2005 cube since you cannot do that within SSMS (you can rename a database but you cannot a cube). If you want to rename a cube prior to its deployment, you can alter it through XMLA. To do this:
As you can see from above, the <Name> node can be changed so that while the ID for this cube is still "blah", now your name can be "Foo".
But if you want to change the name of your cube after its already been deployed, there are an additional number of steps that will need to be performed. First you will need to go the Olap database folder, e.g.
C:\Program Files\Microsoft SQL Server\MSSQL.2\olap\Data\[Database Name].0.db
and then access the cube XML definition file within that folder, such as: [Cube Name].0.cub. The XML within this file will look like (with a cube name of “Blah”)
So you need only to change the name of the <Name> node (e.g. now “Foo”) to:
You will also need to stop/restart the AS service for it to register the new name.
Have you ever automated this using powershell?
Not offhand – but it certainly seems like a good idea, eh?!