To fix, modify the following line to include quotes around the DBServer parameters:
AutoSpInstallerFunctions.ps1, Line 3444:
```
Write-Output "`$newProfileServiceApp = New-SPProfileServiceApplication -Name `"$userProfileServiceName`" -ApplicationPool `"$($applicationPool.Name)`" -ProfileDBServer `"$($profileDBServer)`" -ProfileDBName $profileDB -ProfileSyncDBServer `"$($syncDBServer)`" -ProfileSyncDBName $syncDB -SocialDBServer `"$($socialDBServer)`" -SocialDBName $socialDB -MySiteHostLocation $mySiteHostLocation $mySiteManagedPathSwitch" | Out-File $scriptFile -Width 400 -Append
```
Comments: ** Comment from web user: johndpalm **
Also in AutoSpInstallerFunctions.ps1:
Line 2246, change to:
```
$newServiceApplication = Invoke-Expression "$serviceNewCmdlet -Name `"$serviceName`" -ApplicationPool `$applicationPool -DatabaseServer `"$dbServer`" -DatabaseName `$serviceDB"
```
Line 5336:
```
-ServiceNewCmdlet "New-SPWordConversionServiceApplication -DatabaseServer `"$dbServer`" -DatabaseName $serviceDB -Default" `
```
Line 5814:
```
-ServiceNewCmdlet "New-SPAppManagementServiceApplication -DatabaseServer `"$dbServer`" -DatabaseName $serviceDB" `
```
Line 5844:
```
-ServiceNewCmdlet "New-SPSubscriptionSettingsServiceApplication -DatabaseServer `"$dbServer`" -DatabaseName $serviceDB" `
```
Line 5879:
```
-ServiceNewCmdlet "New-SPAccessServicesApplication -DatabaseServer `"$dbServer`" -Default" `
```
Line 5936:
```
-ServiceNewCmdlet "New-SPTranslationServiceApplication -DatabaseServer `"$dbServer`" -DatabaseName $translationDatabase -Default" `
```