Create a PerformancePoint Services App with custom database name via PowerShell
-
16-10-2019 - |
Question
It seems New-SPPerformancePointServiceApplication cmdlet does not have -databaseName parameter as other cmdlets to create a service apps. I wonder if it is possible to create PerformancePoint services with custom database name via PowerShell?
If you run this command with the required parameters:
New-SPPerformancePointServiceApplication -Name "PerformancePointServices" -ApplicationPool "ServiceAppPool"
New Performance Point service app will be created and it's database name will be PerformancePointServices_GUID. I would like to be able to create a database with a custom name (without guid :))
Solution
sorry - known issue - for PPS you can't do this. learn to love the GUIDs!
OTHER TIPS
Todd Carter's post "The Wizard Likes His GUIDs" provides a PowerShell script that is supposed to create GUID-less database names. There is no explicitly set database name in his script but perhaps it uses the service application name?
You might also like to try AutoSPInstaller but I can't see PerformancePoint deployed at all in that.
Unfortunately Todd's script doesn't do it, you still end up with a GUID, and according to this blog: Deploying PerformancePoint 2010 Soup to Nuts it is not possible.
Shame, as I just can't wait for the first time I run across a need to install to a managed SQL instance where all databases must be pre-provisioned!
This issue was fixed in Service Pack 1. New-SPPerformancePointServiceApplication
now includes DatabaseName
and DatabaseServer
parameters.