{"id":305,"date":"2013-06-27T14:03:15","date_gmt":"2013-06-27T13:03:15","guid":{"rendered":"https:\/\/www.em-soft.si\/myblog\/elvis\/?p=305"},"modified":"2013-10-16T06:21:07","modified_gmt":"2013-10-16T04:21:07","slug":"install-sharepoint-2013-foundation-on-windows-server-2012-essentials","status":"publish","type":"post","link":"https:\/\/em-soft.si\/myblog\/elvis\/?p=305","title":{"rendered":"Install SharePoint 2013 Foundation on Windows Server 2012 Essentials"},"content":{"rendered":"<p>For all of us, who used SBS with companyweb SharePoint site, which was not really \u201cbest practice installed\u201d, but worked well, I want to discuss how to install SharePoint on Essentials server 2012. As on SBS, I don\u2019t want to use best practices, because we have a limited number of users and I will use only <strong>one administrator account <\/strong>to run all SharePoint services. Installation is not so difficult, but you have to know some tricks to be successful. In addition, I want to thank Robi Von\u010dina (SharePoint Server\u00a0MVP) for the help with PowerShell scripts. You will need also the SQL Server 2012 Express. You can download it here <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35579\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35579<\/a>, but this installation is not\u00a0a part of\u00a0this post. There is also an additional requirement: you must have a static IP address on the Essentials 2012 server. The first think that I suggest you to do is to manually install .Net framework 3 (you have to install it using Server Manager console): On Windows Server Essentials open Server Manager console and select Add Roles and Futures. Click on Next 4 times and when you will arrive into Features windows select .Net Framework features and click Next. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-306\" title=\"Image 1\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP1-300x211.png\" width=\"300\" height=\"211\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP1-300x211.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP1-624x440.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP1.png 799w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> \u00a0On confirmation page click on Specify an alternate source path. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-307\" title=\"Image 2\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2-300x211.png\" width=\"300\" height=\"211\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2-300x211.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2-624x440.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2.png 797w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> In Specify Alternate Source Path window, under Path, type the path to the source files. Those files are located on the installation DVD, in <em>SourcesSxS folder<\/em>. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-308\" title=\"Image 3\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2a-300x236.png\" width=\"300\" height=\"236\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2a-300x236.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2a-624x492.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP2a.png 649w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> Close the window with OK and click Install to install the feature. After the installation is complete, close the wizard. Now you are ready to install the SharePoint prerequisites by running SharePoint.exe installation file (you can download it from <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35488\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35488<\/a>). On the first window select Install software prerequisites. You will need internet access for downloading some components. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-309\" title=\"Image 4\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP3-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP3-300x225.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP3-624x469.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP3.png 638w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> When the Microsoft SharePoint 2013 Products Preparation Tool windows will open, click Next. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-310\" title=\"Image 5\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP4-300x228.png\" width=\"300\" height=\"228\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP4-300x228.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP4-624x474.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP4.png 688w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> Wait the installation to complete. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-311\" title=\"Image 6\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP5-300x226.png\" width=\"300\" height=\"226\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP5-300x226.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP5-624x470.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP5.png 690w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> On the last page look at the results. Here you must see all the components with <em>Installed successfully <\/em>or <em>No action taken <\/em>status, before you can proceed to SharePoint Installation. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-312\" title=\"Image 7\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP6-300x226.png\" width=\"300\" height=\"226\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP6-300x226.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP6-624x472.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP6.png 690w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> If there is all OK, restart the server and when the server is up, run the SharePoint.exe once again and click on <em>Install SharePoint Foundation<\/em>. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-313\" title=\"Image 8\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7-300x223.png\" width=\"300\" height=\"223\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7-300x223.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7-624x465.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7.png 642w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> On the Welcome page, accept the license and click Continue. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-314\" title=\"Image 9\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7a-300x244.png\" width=\"300\" height=\"244\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7a-300x244.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7a-624x508.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP7a.png 625w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> On the next window, you are asked for data index file location. Search in SharePoint 2013 is different as in version 2010. Therefore, if you want to use this computer as a search server, you have to specify where this index files will live. Be careful because those files can become big! <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-315\" title=\"Image 10\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP8-300x245.png\" width=\"300\" height=\"245\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP8-300x245.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP8-624x510.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP8.png 625w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> Now you can only wait that SharePoint installation will be finished. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-316\" title=\"Image 11\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP9-300x244.png\" width=\"300\" height=\"244\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP9-300x244.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP9.png 624w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> In the end, when you will be prompted for run configuration wizard, I suggest that you configure all options manually. For me the best choice is to<strong> clear <\/strong><em>Run the SharePoint Products Configuration Wizard now <\/em>and click on Close. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-317\" title=\"Image 12\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP10-300x242.png\" width=\"300\" height=\"242\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP10-300x242.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP10-624x504.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP10.png 626w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> At this point it is time to switch in PowerShell \u2013 <strong>SharePoint 2013 Management Shell <\/strong>and run it <em>as Administrator<\/em>. Don\u2019t be surprised for the message, that SP farm is not available \u2013 it is not jet configured. <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-319\" title=\"Image 13\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP11-300x44.png\" width=\"300\" height=\"44\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP11-300x44.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP11-624x92.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP11.png 675w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> Here is the first script for initialling SharePoint configuration:<\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">&lt;##### Initial SharePoint Configuration #####&gt;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$dbserver=&#8221;<span style=\"color: #800000;\">ServerNameInstance<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$configdb=&#8221;<span style=\"color: #800000;\">SP13_Config_Configuration<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$adminContent=&#8221;<span style=\"color: #800000;\">SP13_Config_AdminContent<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$pass=ConvertTo-SecureString -AsPlainText -Force &#8220;<span style=\"color: #800000;\">SP_AdminPass<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$user=&#8221;<span style=\"color: #800000;\">DomainAdmin<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$credentials=New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $user,$pass<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$passphrase=ConvertTo-SecureString -AsPlainText -Force &#8220;<span style=\"color: #800000;\">SP_AdminPass<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">New-SPConfigurationDatabase -DatabaseName $configdb -DatabaseServer $dbserver -AdministrationContentDatabaseName $adminContent -Verbose -Passphrase $passphrase -FarmCredentials $credentials<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$bindingInfo=Get-SPTopologyServiceApplication | select URI<\/span> <span style=\"font-family: terminal,monaco; color: #0000ff;\">Set-SPFarmConfig -ServiceConnectionPointBindingInformation <\/span><span style=\"font-family: terminal,monaco; color: #0000ff;\">$bindingInfo<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$caPort = <span style=\"color: #800000;\">55555<\/span><\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$caAuthProvider = &#8220;NTLM&#8221;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">New-SPCentralAdministration -Port $caPort -WindowsAuthProvider $caAuthProvider<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">Install-SPHelpCollection -All<\/span> <span style=\"font-family: terminal,monaco; color: #0000ff;\">Initialize-SPResourceSecurity<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">Install-SPService<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">Install-SPFeature -AllExistingFeatures<\/span> <span style=\"font-family: terminal,monaco; color: #0000ff;\">Install-SPApplicationContent<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">Write-Output &#8220;Starting Central Administration&#8221;<\/span> <span style=\"font-family: terminal,monaco; color: #0000ff;\">&amp; &#8216;C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15BINpsconfigui.exe&#8217; -cmd showcentraladmin<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">&lt;##### Initial SharePoint Configuration #####&gt;<\/span> <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-321\" title=\"Image 14\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP12-300x153.png\" width=\"300\" height=\"153\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP12-300x153.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP12-624x318.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP12.png 678w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> With the script we created all the databases needed in Central Admin page, we added our user as SP administrator, we set the Central Admin port and Authentication and in the end we started the Central admin page. Take it in mind, that all users used in any SharePoint administration role must have created local profiles (you must login with that user or create a script for creating this folders).<\/p>\n<p>After this step is completed, you have to run the second script:<\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">&lt;##### Create WebApplication and Site #####&gt;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$ap = New-SPAuthenticationProvider<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco;\"><span style=\"color: #0000ff;\">New-SPWebApplication -Name <span style=\"color: #800000;\">Companyweb<\/span> -ApplicationPool &#8220;<span style=\"color: #800000;\">CompanywebAppPool<\/span>&#8221; -ApplicationPoolAccount (Get-SPManagedAccount <span style=\"color: #800000;\">domainAdmin<\/span>) -HostHeader <span style=\"color: #800000;\">Companyweb<\/span> -Port 80 -Url <\/span><a href=\"http:\/\/Companyweb\"><span style=\"color: #800000;\">http:\/\/Companyweb<\/span><\/a><span style=\"color: #0000ff;\"> -DatabaseName <span style=\"color: #800000;\">SP13_Companyweb <\/span>-Verbose<\/span><\/span><\/p>\n<p><span style=\"font-family: terminal,monaco;\"><span style=\"color: #0000ff;\">New-SPSite -Name <span style=\"color: #800000;\">Companyweb<\/span> -Url <\/span><a href=\"http:\/\/Companyweb\"><span style=\"color: #800000;\">http:\/\/Companyweb<\/span><\/a><span style=\"color: #0000ff;\"> \u2013HostHeaderWebApplication <span style=\"color: #800000;\">\/<\/span> -Template <span style=\"color: #800000;\">TeamSite<\/span> -OwnerAlias <span style=\"color: #800000;\">domainadmin <\/span>-ContentDatabase <span style=\"color: #800000;\">SP13_Companyweb <\/span>-Verbose<\/span><\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">&lt;##### Start the service instances #####&gt;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">Start-SPEnterpriseSearchServiceInstance $env:computername <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">\u00a0<\/span><span style=\"font-family: terminal,monaco; color: #0000ff;\">Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $env:computername <\/span><span style=\"font-family: terminal,monaco; color: #0000ff;\">$serviceAppName = &#8220;Search Service Application&#8221; <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$appPool=Get-SPManagedAccount -Identity &#8220;<span style=\"color: #800000;\">DomainAdmin<\/span>&#8220;<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">New-SPServiceApplicationPool -Name SA_AppPool -Account $appPool -Verbose<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$saAppPool=Get-SPServiceApplicationPool -Identity SA_AppPool<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$svcPool = $saAppPool<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$adminPool = $saAppPool<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchServiceInstance = Get-SPEnterpriseSearchServiceInstance \u2013Local<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchService = $searchServiceInstance.Service <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$bindings = @(&#8220;InvokeMethod&#8221;, &#8220;NonPublic&#8221;, &#8220;Instance&#8221;) <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$types = @([string], [Type], <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">[Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool], <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">[Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]) <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$values = @($serviceAppName, <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">[Microsoft.Office.Server.Search.Administration.SearchServiceApplication],<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">[Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$svcPool,<\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">[Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$adminPool) <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$methodInfo = <\/span><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchService.GetType().GetMethod(&#8220;CreateApplicationWithDefaultTopology&#8221;, <\/span><span style=\"font-family: terminal,monaco; color: #0000ff;\">$bindings, $null, $types, $null) <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchServiceApp = $methodInfo.Invoke($searchService, $values) <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchProxy = New-SPEnterpriseSearchServiceApplicationProxy -Name &#8220;$serviceAppName Proxy&#8221; -SearchApplication $searchServiceApp <\/span><\/p>\n<p><span style=\"font-family: terminal,monaco; color: #0000ff;\">$searchServiceApp.Provision()<\/span><\/p>\n<p>This script will create SharePoint Web Application and SharePoint Site companyweb with TeamSite template. After this script will be completed I recommend checking if all Application are in running state in IIS and if the site is really created. In some cases this two things are not a 100% true (maybe you will have to manually start some services and manually create the companyweb site).<\/p>\n<p><a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-322\" title=\"Image 15\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22-221x300.png\" width=\"221\" height=\"300\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22-221x300.png 221w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22-754x1024.png 754w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22-624x846.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP22.png 958w\" sizes=\"auto, (max-width: 221px) 100vw, 221px\" \/><\/a><\/p>\n<p>Now you have to do the final steps. You need to add a <em>CNAME<\/em> DNS record for<em> companyweb <\/em>and target it to the<em> server name<\/em>.<\/p>\n<p><a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-323\" title=\"Image 16\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP20-268x300.png\" width=\"268\" height=\"300\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP20-268x300.png 268w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP20.png 415w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-324\" title=\"Image 17\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP21-300x208.png\" width=\"300\" height=\"208\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP21-300x208.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP21-624x434.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP21.png 766w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now you can browse your SP site and in management you have to define permissions for users.<br \/>\nThis is all the work for build up your SharePoint site on Essentials server. All other settings are optional and same as described in many blogs.<br \/>\n<a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-325\" title=\"Image 18\" alt=\"\" src=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP24-300x219.png\" width=\"300\" height=\"219\" srcset=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP24-300x219.png 300w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP24-624x457.png 624w, https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/ESS_SP24.png 959w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>You can download scripsts here: <a href=\"https:\/\/em-soft.si\/myblog\/elvis\/wp-content\/uploads\/2013\/06\/SharePointInstall.zip\"><span style=\"font-family: Georgia;\">SharePointInstall<\/span><\/a><a style=\"text-decoration:none\" href=\"\/index.php?s=buy-cheap-viagra-oral-jelly-discount-online\">.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For all of us, who used SBS with companyweb SharePoint site, which was not really \u201cbest practice installed\u201d, but worked well, I want to discuss how to install SharePoint on Essentials server 2012. As on SBS, I don\u2019t want to use best practices, because we have a limited number of users and I will use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[17,23],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-essentials-server","category-windows-sbs-server","tag-essentials-server-2","tag-sharepoint"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305"}],"version-history":[{"count":3,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=\/wp\/v2\/posts\/305\/revisions\/387"}],"wp:attachment":[{"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/em-soft.si\/myblog\/elvis\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}