Here’s an oldy but a goody, how to get your Central Admin and Config Databases created without using the gray wizard.
Blog post inspiration –> https://technet.microsoft.com/en-us/library/ff607838.aspx
This approach results in clean database names.
Set-ExecutionPolicy Unrestricted Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue Write-Host "When prompted for credentials, give SharePoint the farm account, not the install account that you are signed in with, then provide the passphrase, note: you will not be prompted for passPhrase if it is baked into the script" -ForegroundColor green New-SPConfigurationDatabase -DatabaseName 2013_SharePoint_Config -DatabaseServer SharePointSQL -Passphrase (ConvertTo-SecureString "1Qaz2Wsx3Edc4Rfv" -AsPlainText -Force) -FarmCredentials (Get-Credential) -AdministrationContentDatabaseName 2013_SharePoint_CentralAdmin_Content -SkipRegisterAsDistributedCacheHost
# Note: you can remove the “-SkipRegisterAsDistributedCacheHost” if creating a 2010 farm and may want to change db names #
# Enter the port for Central Admin and the Authentication Provider if different than NTLM #
$CAPort = 5000 $CAAuth = "NTLM"
#Must use this order http://technet.microsoft.com/en-us/library/ff806336(v=office.14).aspx##
Install-SPHelpCollection -All Initialize-SPResourceSecurity Install-SPService Install-SPFeature -AllExistingFeatures New-SPCentralAdministration -Port $CAPort -WindowsAuthProvider $CAAuth Install-SPApplicationContent New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword ## Note you might not have an SCP in your domain, so you may want to exclude the next two lines ## $ServiceConnectionPoint = get-SPTopologyServiceApplication | select URI Set-SPFarmConfig -ServiceConnectionPointBindingInformation $ServiceConnectionPoint -Confirm: $False Write-Host "Make sure to register the managed accounts for Service Apps and for Web Content before continuing with the 2013Install script" -ForegroundColor Green -BackgroundColor Yellow
You must be logged in to post a comment.