HI,
I am following (at least try to) on th ehow to from this Website http://www.harbar.net/articles/fimportal.aspx which is a great post. THANKS
Me as a rooky trying to follow this step by step post and failing already at the power Shell part. I believe I Need to copy your Information into the Editor and Change some Information that applies to my Network and then save the file as fim farmcreation.ps1
Correct?
I have tried to get to Change this Information to reflect my Network Settings but I always getting Errors when I run the script.
Please see my adapted script on the below where I would be very happy if someone could Review it and let me know about my errors?
My Network Settings are as following:
SQL Server=sql2-srv with a named instance FIMSP
FIM Server=fim1-srv
FIM Service=fim.service
FIMSPFarm=fimsp.service
FIMSPContent=fimsp.content
Many thanks,
Markus
asnp Microsoft.SharePoint.PowerShell
$databaseServer = "SQL2-SRV\FIMSP"
$configDatabase = "FIMSP_Config"
$adminContentDB = "FIMSP_Content_Admin"
$passphrase = "mypassword?"
$farmAccountName = "XY\fimsp.service"
$caUrl = "https://fimspca.XY.COM"
$farmAccount = Get-Credential $farmAccountName
$passphrase = (ConvertTo-SecureString $passphrase -AsPlainText -force)
Write-Host "Creating Configuration Database and Central Admin Content Database..."
New-SPConfigurationDatabase -DatabaseServer $databaseServer -DatabaseName $configDatabase `
-AdministrationContentDatabaseName $adminContentDB `
-Passphrase $passphrase -FarmCredentials $farmAccount
$spfarm = Get-SPFarm -ErrorAction SilentlyContinue -ErrorVariable
err
if ($spfarm -eq $null -or $err) {
throw "Unable to verify farm creation."
}
Write-Host "ACLing SharePoint Resources..."
Initialize-SPResourceSecurity
Write-Host "Installing Services ..."
Install-SPService
Write-Host "Installing Features..."
Install-SPFeature -AllExistingFeatures
Write-Host "Creating Central Administration..."
New-SPCentralAdministration -Port 443 -WindowsAuthProvider NTLM
Write-Host "Fixing CA IIS binding..."
Set-SPCentralAdministration -Port 443 -Confirm:$false
Write-Host "Fixing Internal URL..."
Set-SPAlternateURL -Identity "https://$env:fim1-srv" -Url $caUrl
Write-Host "Installing Help..."
Install-SPHelpCollection -All
Write-Host "Installing Application Content..."
Install-SPApplicationContent
Write-Host "Farm Creation Done!"
AdminIT