<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint 2016 Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/tag/sharepoint-2016/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/tag/sharepoint-2016/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Sat, 02 Nov 2019 18:28:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Mon, 04 Feb 2019 00:43:15 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=8809</guid>

					<description><![CDATA[<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016. To read the first part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016.</p>



<p>To read the first part, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">her</a><a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener" aria-label="e (opens in a new tab)">e</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2016 or SharePoint 2019 that have support for hybrid scenarios can be a valid solution.</p>



<p>This post is based on upgrading a SharePoint 2010 farm into SharePoint 2016 using the database attach approach but should also be valid if you want to upgrade to SharePoint 2019. This post assumes that the we will only migrate the content database(s) from the source SharePoint 2010 to SharePoint 2016 and all other SharePoint databases are created in the target SharePoint 2016 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>There is another valid migration approach to migrate from SharePoint 2010 to SharePoint 2016 by using content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>. </p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016 (outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover: </p>



<ul class="wp-block-list"><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<h2 class="wp-block-heading">Upgrade to the target SharePoint 2016 farm</h2>



<p><strong>IMPORTANT NOTES: </strong></p>



<ul class="wp-block-list"><li>Migrating from SharePoint 2010 directly to SharePoint 2016 is not supported. To migrate from SharePoint 2010 to SharePoint 2016 we must first migrate to a temporary SharePoint 2013 farm and then migrate to SharePoint 2016</li><li>To to be able to migrate to SharePoint 2016, the temporary SharePoint 2013 farm must at least have the March 2013 Public Update installed. For more details, click <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/overview-of-the-upgrade-process" target="_blank">here</a></li></ul>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2010 to SharePoint 2016 using a database upgrade approach). </p>



<p>In the upgrade process, for both the temporary SharePoint 2013 and the target SharePoint 2016 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2016 farm (process also valid for SharePoint 2013), click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2016 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2013: </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will make the web application unattached from any web application in the temporary SharePoint 2013 farm</li></ul>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="1021" height="742" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png" alt="" class="wp-image-8825" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png 1021w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-300x218.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-768x558.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-324x235.png 324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-696x506.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-578x420.png 578w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> <br>Remove Content Database from SharePoint 2013 farm</figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-write mode so that users will be able to change content in the target SharePoint 2016 farm. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_write</li><li><strong>SharePoint 2013 Database Server:</strong> Backup of the content database(s) </li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2013 content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the temporary SharePoint 2013 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1350" height="361" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB.png?fit=696%2C186&amp;ssl=1" alt="" class="wp-image-8972" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB.png 1350w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-300x80.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-768x205.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1024x274.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-696x186.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1068x286.png 1068w" sizes="(max-width: 1350px) 100vw, 1350px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1311" height="569" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm.png?fit=696%2C302&amp;ssl=1" alt="" class="wp-image-8973" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm.png 1311w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-300x130.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-768x333.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1024x444.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-696x302.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1068x464.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-968x420.png 968w" sizes="(max-width: 1311px) 100vw, 1311px" /><figcaption> Add content database (confirmation) </figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Copy the database backup file from the temporary SharePoint 2013 database server to the database server that supports the target SharePoint 2016 farm</li><li><strong>SharePoint 2016:&nbsp;</strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1411" height="761" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png?fit=696%2C375&amp;ssl=1" alt="" class="wp-image-8829" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png 1411w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-300x162.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-768x414.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-696x375.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1068x576.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-779x420.png 779w" sizes="(max-width: 1411px) 100vw, 1411px" /><figcaption>Remove Content Database from SharePoint 2016 farm</figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Restore the content database backup from the temporary SharePoint 2013 database server. The restore must replace the content database that was created during the SharePoint 2016 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption> Restore the temporary SharePoint 2013 content database in the SharePoint 2016 database server</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> If you have custom developed farm solutions, deploy all the migrated WSPs in the target SharePoint 2016 farm.</li><li><strong>SharePoint 2016&nbsp;</strong> Execute the first of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm (in this example the web application URL is http://sp2016): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2016<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some missing features errors but none of them are upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png" alt="" class="wp-image-8776" width="613" height="311" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png 491w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-300x152.png 300w" sizes="(max-width: 613px) 100vw, 613px" /><figcaption>Test-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the second of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2016&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, no errors or warnings were shown </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-8847" width="590" height="228" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png 560w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB-300x116.png 300w" sizes="(max-width: 590px) 100vw, 590px" /><figcaption> Mount-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the third of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Test-SPSite http://sp2016 <ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png" alt="" class="wp-image-8849" width="604" height="218" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png 752w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-300x109.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-696x252.png 696w" sizes="(max-width: 604px) 100vw, 604px" /><figcaption> Test-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the fourth of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Repair-SPSite -identity http://sp2016 <ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png" alt="" class="wp-image-8851" width="603" height="214" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png 758w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-300x107.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-696x248.png 696w" sizes="(max-width: 603px) 100vw, 603px" /><figcaption> Repair-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the fifth of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Upgrade-SPSite http://sp2016 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2016 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2013 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="550" height="40" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-8852" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png 550w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-300x22.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-533x40.png 533w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-534x40.png 534w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption> Upgrade-SPSite cmdlet result</figcaption></figure></div>



<p>After the migration is complete, your SharePoint web application is successfully displayed in your brand new SharePoint 2016 environment!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite.png?fit=696%2C339&amp;ssl=1" alt="" class="wp-image-8860" width="752" height="366" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite.png 1247w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-300x146.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-768x374.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-1024x499.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-696x339.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-1068x521.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-861x420.png 861w" sizes="(max-width: 752px) 100vw, 752px" /><figcaption>SharePoint 2016 Upgraded Team Site</figcaption></figure></div>



<p>To read the first part of this two part step by step tutorial, click&nbsp;<a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>. </p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.  </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>. </p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Mon, 04 Feb 2019 00:42:07 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=8692</guid>

					<description><![CDATA[<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016. To read the second part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016.</p>



<p>To read the second part, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2016 or SharePoint 2019 that have support for hybrid scenarios can be a valid solution.</p>



<p>This post is based on upgrading a SharePoint 2010 farm into SharePoint 2016 using the database attach approach but should also be valid if you want to upgrade to SharePoint 2019. This post assumes that the we will only migrate the content database(s) from the source SharePoint 2010 to SharePoint 2016 and all other SharePoint databases are created in the target SharePoint 2016 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>There is another valid migration approach to migrate from SharePoint 2010 to SharePoint 2016 by using a content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" aria-label="AvePoint (opens in a new tab)" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" aria-label="Metalogix (opens in a new tab)" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>.</p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016 (outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016  <br>(details about the migration of custom solutions are outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li></ul>



<h2 class="wp-block-heading">Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016</h2>



<p>This step is outside the scope of this post but a few notes are important to mention if you have custom developed solutions that you want to migrate from SharePoint 2010 to SharePoint 2016:</p>



<ul class="wp-block-list"><li>First, you should analyze the source SharePoint 2010 farm and look for custom developed solutions and in particular for farm solutions and/or sandboxed solutions</li><li>If custom developed solutions are found and if you want to take the easiest migration path, you could simply upgrade your custom developed solutions to SharePoint 2016 without changing the architecture. This typically involves migrating server-side code from SharePoint 2010 to SharePoint 2016, possible migration of master pages and adjustments to CSS and JS files</li><li>Despite more difficult, if possible, you should consider migrating the existing solutions to one of the following development models: <ul><li>SharePoint Framework: the latest and the recommended development model for modern SharePoint solutions, enabling an easier migration path to SharePoint Online and Office 365</li><li>SharePoint Add-Ins: this development model is still supported and can be a valid solution depending on your scenario. However, when possible. you should consider migrating solutions to the SharePoint Framework development model </li></ul></li></ul>



<h2 class="wp-block-heading">Upgrade into a temporary SharePoint 2013 farm</h2>



<p><strong>IMPORTANT NOTES:</strong></p>



<ul class="wp-block-list"><li>Migrating from SharePoint 2010 directly to SharePoint 2016 is not supported. To migrate from SharePoint 2010 to SharePoint 2016 we must first migrate to a temporary SharePoint 2013 farm and then migrate to SharePoint 2016</li><li>To to be able to migrate to SharePoint 2016, the temporary SharePoint 2013 farm must at least have the March 2013 Public Update installed. For more details, click <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/overview-of-the-upgrade-process" target="_blank">here</a> </li></ul>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2010 to SharePoint 2016 using a database upgrade approach).</p>



<p>In the upgrade process, for both the temporary SharePoint 2013 and the target SharePoint 2016 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2016 farm (process also valid for SharePoint 2013), click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2016 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2010 (test migration only): </strong>Export all WSPs from the SharePoint 2010 farm to file system. To export the WSP files, you can use this <a rel="noreferrer noopener" aria-label="PowerShell script (opens in a new tab)" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2013/Export-WSP.ps1" target="_blank">PowerShell script</a>.<br><strong>SharePoint 2010 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will temporarily make the web application unavailable in the source SharePoint 2010 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB.png?fit=696%2C315&amp;ssl=1" alt="" class="wp-image-8740" width="620" height="280" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB.png 1324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-300x136.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-768x348.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-1024x464.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-696x315.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-1068x484.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-927x420.png 927w" sizes="(max-width: 620px) 100vw, 620px" /><figcaption> Temporarily Remove Content Database from Source SharePoint 2010 farm</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2010 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-only mode to ensure the source web application is made available again and so that users cannot change content anymore during the upgrade process. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_only</li><li><strong>SharePoint 2010 Database Server:</strong> Backup of the content database(s) (in read-only mode in the final migration)</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2010 content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2010 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the source SharePoint 2010 farm in read-only mode, preventing users from changing any content</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="899" height="289" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB.png" alt="" class="wp-image-8958" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB.png 899w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-300x96.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-768x247.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-696x224.png 696w" sizes="(max-width: 899px) 100vw, 899px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="875" height="520" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm.png" alt="" class="wp-image-8959" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm.png 875w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-300x178.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-768x456.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-696x414.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-707x420.png 707w" sizes="(max-width: 875px) 100vw, 875px" /><figcaption> Add content database (confirmation)</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server:</strong> Copy the database backup file from the source SharePoint 2010 database server to the database server that supports the temporary SharePoint 2013 farm</li><li><strong>SharePoint 2013:&nbsp;</strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1021" height="742" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png" alt="" class="wp-image-8825" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png 1021w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-300x218.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-768x558.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-324x235.png 324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-696x506.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-578x420.png 578w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> Remove Content Database from SharePoint 2013 farm </figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server:</strong> Restore the content database backup from the source SharePoint 2010 database server. The restore must replace the content database that was created during the SharePoint 2013 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption> Restore the SharePoint 2010 content database in the SharePoint 2013 database server</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> If you have custom developed farm solutions, add all the exported WSPs (without deploying them) in the temporary SharePoint 2013 farm. For each WSP, run the following command: <ul><li>Add-SPSolution -LiteralPath $location\solution.wsp where $location is the file system location of the WSP files </li></ul></li><li><strong>SharePoint 2013:&nbsp;</strong> Execute the first of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm (in this example the web application URL is http://sp2013): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2013<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some missing features errors but none of them are upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="491" height="249" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1.png" alt="" class="wp-image-8845" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1.png 491w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1-300x152.png 300w" sizes="(max-width: 491px) 100vw, 491px" /><figcaption>Test-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the second of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2013&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, I got an error that once again was not upgrade blocking. This cmdlet is very likely to throw an error but most times it is an error that will not block the upgrade process </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-8788" width="617" height="223" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB.png 682w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB-300x109.png 300w" sizes="(max-width: 617px) 100vw, 617px" /><figcaption> Mount-SPContentDatabase cmdlet result </figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the third of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Test-SPSite http://sp2013 <ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite.png" alt="" class="wp-image-8791" width="614" height="254" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite.png 676w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite-300x124.png 300w" sizes="(max-width: 614px) 100vw, 614px" /><figcaption> Test-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the fourth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Repair-SPSite -identity http://sp2013 <ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite.png" alt="" class="wp-image-8793" width="616" height="220" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite.png 678w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite-300x107.png 300w" sizes="(max-width: 616px) 100vw, 616px" /><figcaption> Repair-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the fifth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Upgrade-SPSite http://sp2013 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2013 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2010 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-8795" width="618" height="91" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite.png 678w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite-300x44.png 300w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption> Upgrade-SPSite cmdlet result</figcaption></figure></div>



<p>To read the second part of this two part step by step tutorial, click&nbsp;<a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>. </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell,&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>.</p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 12 Sep 2018 21:50:11 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7458</guid>

					<description><![CDATA[<p>Hello, Today, after migrating a SharePoint 2010 farm to SharePoint 2016, I suddenly caught an error with the current navigation in a SharePoint Publishing site. The site collection contains three main sub sites. For two of them, SharePoint navigation worked perfectly fine but for the other one, the navigation was not being shown. The Problem [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/">Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Today, after migrating a SharePoint 2010 farm to SharePoint 2016, I suddenly caught an error with the current navigation in a SharePoint Publishing site. The site collection contains three main sub sites. For two of them, SharePoint navigation worked perfectly fine but for the other one, the navigation was not being shown.</p>
<h1>The Problem</h1>
<p>To try to find out the problem in the problematic sub site, I navigated to the Navigation settings page and caught the following error:</p>
<p><em><strong>The given key was not present in the dictionary.</strong> Stack Trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.SharePoint.Publishing.CachedArea.CreateResultSetFromSuperUserAndSuperReader(StringCollection superReaderItemIDs, StringCollection superUserItemIDs, Dictionary`2 cachedObjects, SPWeb contextWeb, SPQuery query, List`1 fieldrefs, ICachedObjectFactory objectFactory) at Microsoft.SharePoint.Publishing.CachedArea.GetChildForListByQuery(String listName, SPQuery query, SPWeb contextWeb, Boolean onlyPopulateCache, List`1&amp; itemsFetched, Boolean skipIfThrottled) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.FetchDynamicItems(PublishingWeb pubWeb, NodeTypes includedTypes, Boolean&amp; websFetched, Boolean&amp; pagesFetched) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildrenInner(NodeTypes includedTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes includedTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode node, NodeTypes includedHiddenTypes)</em></p>
<h1>The Solution</h1>
<p>To solve the problem, all I had to do was reactivating the &#8220;SharePoint Server Publishing&#8221;  Site Feature (not the corresponding Site Collection feature) on the problematic sub site:</p>
<p><img decoding="async" class="alignnone wp-image-7461" src="https://blogit.create.pt////wp-content/uploads/2018/09/PublishingSiteFeature.jpg" alt="" width="696" height="52" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature.jpg 829w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-300x22.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-768x57.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-696x52.jpg 696w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>After reactivating the feature, the navigation started to work as expected.</p>
<p><strong>NOTE:</strong> This solution should also be applicable to other versions of SharePoint Server, including SharePoint 2019. To learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>Hope this helps someone!</p>
<h1>Related Articles</h1>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>In the meantime, SharePoint 2019 RTM is already out there! If you want to know all about the new features available in the new SharePoint Server release, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a></p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/">Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sat, 28 Jul 2018 23:32:14 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[AutoSPInstaller]]></category>
		<category><![CDATA[Deployment]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/miguelisidoro/?p=1974</guid>

					<description><![CDATA[<p>This post is the second part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell. To read the first part, click here. Introduction Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[This post is the second part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell.

To read the first part, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a>.
<h1>Introduction</h1>
Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint 2016 hardware and software requirements, click <a href="https://docs.microsoft.com/en-us/sharepoint/install/hardware-and-software-requirements" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.

Installing a SharePoint farm can be a complex task and the installation process is composed by a series of steps:
<ul>
 	<li>Downloading and installing SharePoint prerequisites</li>
 	<li>Downloading and installing the SharePoint binaries</li>
 	<li>Downloading and installing the lastest SharePoint updates</li>
 	<li>Downloading and installing the required language packs (optional, necessary if you want the SharePoint interface to be presented in a language other than English)</li>
 	<li>Configuring the SharePoint farm using SharePoint Products and Configuration Wizard</li>
</ul>
All the above steps are time consuming and can be error prone if, for example, you miss to download any of the prerequisites.

Fortunately, it is possible to fully automate a SharePoint farm installation using PowerShell by using a script called <a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a>. The installation process can be divided in two major steps:
<ul>
 	<li>Downloading the SharePoint installation package, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> for more details</li>
 	<li>Installing SharePoint and configuring the SharePoint farm</li>
</ul>
In this post, I will talk about the second part of the process: installing SharePoint and configuring the SharePoint farm.

<a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> can be used to install a SharePoint farm in the following versions of SharePoint:
<ul>
 	<li>SharePoint 2010</li>
 	<li>SharePoint 2013</li>
 	<li>SharePoint 2016</li>
 	<li>SharePoint 2019 (to learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here)</a></li>
</ul>
The example in this post is based on SharePoint 2016 with the following farm topology:

<!-- /wp:post-content --> <!-- wp:list -->
<ul>
 	<li>1 SharePoint 2016 Server</li>
 	<li>1 Database Server</li>
</ul>
<h1>Managed Accounts and Pre-Installation Requisites</h1>
This is a critical step to ensure a successful SharePoint installation. Before the AutoSPInstaller script is executed, all the necessary managed accounts must be created and the appropriate permissions must be properly granted to each account. If any of these permissions is not granted, you will probably encounter problems during the installation. From my experience doing SharePoint installations, creating these accounts with all the required permissions ensures a fast and successful SharePoint installation. Here is the list of accounts and required permissions:
<table style="height: 2873px" width="700">
<tbody>
<tr>
<td width="86"><strong>Name</strong></td>
<td width="259"><strong>Description</strong></td>
<td width="134"><strong>Local Rights</strong></td>
<td width="102"><strong>Domain Rights</strong></td>
</tr>
<tr>
<td width="86">sp_farm</td>
<td width="259">The server farm account is used to perform the following tasks:
-Configure and manage the server farm.
-Act as the application pool identity for the SharePoint Central Administration Web site.
-Run the Microsoft SharePoint Foundation Workflow Timer Service.</td>
<td width="134">SecurityAdmin and DB_Creator rights on the SQL Instance</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_admin</td>
<td width="259">The server farm account is used to perform the following tasks:
-Setup
-SharePoint Products Configuration Wizard</td>
<td width="134">Local Administrator on all the SharePoint Servers. SysAdmin, SecurityAdmin and DB_Creator rights on the SQL Instance.
Must be na account with permissions to add rules to the local firewall.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_pool</td>
<td width="259">The Pool account is used to run the Web Application Pools</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_services</td>
<td width="259">The Services Account is used to run the Service Application Pool</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_crawl</td>
<td width="259">The Default Content Access Account for the Search Service Application</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_search</td>
<td width="259">Service Account to run the SharePoint Search “Windows Service”</td>
<td width="134">Local Administrator and SysAdmin rights on the SQL instance</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_mysitepool</td>
<td width="259">Used for the My Sites Web Application</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_userprofilesync</td>
<td width="259">The User Profile Synchronization Account</td>
<td width="134">None</td>
<td width="102"><a href="http://bit.ly/TSE7xs" target="_blank" rel="noopener noreferrer">Replicating Directory Changes permission on the domain.</a></td>
</tr>
<tr>
<td width="86">wf_service</td>
<td width="259">WorkFlow Manager Service Account</td>
<td width="134">Local Administrator and SysAdmin rights on the SQL instance.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_portalsuperuser</td>
<td width="259">Object Cache Service Account. The goals of the object cache are to reduce the load on the computer on which SQL Server is running, and to improve request latency and throughput. These user account must be properly configured to ensure that the object cache works correctly.</td>
<td width="134">None.
SharePoint: Must be an account that has Full Control access to the Web application.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_portalsuperreader</td>
<td width="259">Object Cache Service Account. The goals of the object cache are to reduce the load on the computer on which SQL Server is running, and to improve request latency and throughput. These user account must be properly configured to ensure that the object cache works correctly.</td>
<td width="134">None.
SharePoint: Must be an account that has Full Read access to the Web application.</td>
<td width="102">Domain User</td>
</tr>
</tbody>
</table>
<strong>
Important Notes: </strong>
<ul>
 	<li>To avoid problems executing the AutoSPInstaller script, ensure that the passwords of the above accounts do not contain any special characters (ex: $,%,&amp;,/. etc)</li>
 	<li>The above table contains a proposal to name the accounts for the SharePoint installation. If you choose to use different names, ensure that the account names do not exceed 20 characters since NETBIOS names have a limit of 20 characters</li>
</ul>
<h1>Download AutoSPInstaller PowerShell script</h1>
To download the latest version of AutoSPInstaller, click <a href="https://github.com/brianlala/AutoSPInstaller" target="_blank" rel="noopener noreferrer">here</a>.

The files should be extracted to C:\SP\AutoSPInstaller, assuming that the SharePoint 2016 installation files downloaded with AutoSPSourceBuilder were saved to C:\SP\2016.

This is the folder structure that AutoSPInstaler uses:

<strong>\SP\AutoSPInstaller\AutoSPInstallerLaunch.bat</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerInput.xml</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerMain.ps1\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerFunctionsCustom.ps1</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerConfigureRemoteTarget.ps1</strong>
<strong>\SP\AutoSPInstaller\config.xml</strong>
<strong>\SP\201x\SharePoint\&lt;installation files &amp; folders&gt;</strong>
<strong>\SP\201x\SharePoint\PreRequisiteInstallerFiles\</strong>
<strong>\SP\201x\SharePoint\Updates\</strong>
<strong>\SP\201x\LanguagePacks\xx-xx\ </strong>
<strong>\SP\201x\LanguagePacks\xx-xx\Updates\ </strong>
<strong>\SP\201x\Updates\</strong>

In this example, the root folder of the installation is C:\SP.
<h1>Creating the AutoSPInstaller configuration file</h1>
The next step, is to configure the AutoSPInstaller input configuration file that can be done in the <a href="https://autospinstaller.com" target="_blank" rel="noopener noreferrer">AutoSPInstaller web site</a>.  The end result of the configurations set in the AutoSPInstaller web site is the download of an XML file (AutoSPInstallerInput.xml) that contains all the settings required to configure the SharePoint farm. The AutoSPInstallerInput.xml file contains among other configurations:
<ul>
 	<li>SharePoint version to install</li>
 	<li>The SharePoint product key</li>
 	<li>The Farm Account and all Managed Accounts and their credentials</li>
 	<li>The database instance that will support the SharePoint environment</li>
 	<li>The web applications we want to create (ex: Intranet. My Site, etc)</li>
 	<li>The service applications we want to enable and their configurations</li>
 	<li>Outgoing email settings for the farm</li>
 	<li>Database names: this is extremely useful since it allows us to have complete control over the names of all the databases that will be created during the SharePoint farm configuration and avoid having databases with unclear names containing GUIDs which is the default behavior if we configure the farm using SharePoint Products Configuration Wizard (PSConfig)</li>
</ul>
<img decoding="async" class="size-full wp-image-2154 alignnone" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPInstaller_DBs.jpg" alt="" width="944" height="374" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs.jpg 944w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-300x119.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-768x304.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-696x276.jpg 696w" sizes="(max-width: 944px) 100vw, 944px" />

The AutoSPInstallerInput.xml file should be placed in C:\SP\AutoSPInstaller.
<h1>Installing SharePoint</h1>
After the AutoSPInstallerInput.xml file is configured, it&#8217;s time to install SharePoint!

<strong>IMPORTANT:</strong> the following steps should be executed using the <strong>sp_admin</strong> account.

Follow the following steps:

1. Run AutoSPInstallerLaunch.bat from the command line (run as administrator)

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_RunBat.jpg"><img decoding="async" class="alignnone size-full wp-image-2214" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_RunBat.jpg" alt="" width="759" height="428" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat.jpg 759w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-300x169.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-696x392.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-745x420.jpg 745w" sizes="(max-width: 759px) 100vw, 759px" /></a>

AutoSPInstallerLaunch.bat will launch a PowerShell window that will install SharePoint and configure the farm using as an input the AutoSPInstaller XML configuration file (AutoSPInstallerInput.xml) previously configured using the AutoSPInstaller web site.

2. After the PowerShell window is launched, the following will happen:
<ul>
 	<li>Managed accounts credentials will be validated. If any of the credentials is incorrect, the script will stop</li>
 	<li>SharePoint prerequisites will be installed</li>
 	<li>SharePoint will be installed</li>
 	<li>SharePoint language packs will be installed</li>
 	<li>SharePoint updates will be installed</li>
</ul>
During the script execution. a message may be presented saying that the script needs to be re-launched to workaround an known issue with SharePoint 2016 when language packs are being installed.

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png"><img decoding="async" class="alignnone size-full wp-image-2204" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png" alt="" width="867" height="641" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png 867w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-300x222.png 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-768x568.png 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-80x60.png 80w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-696x515.png 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-568x420.png 568w" sizes="(max-width: 867px) 100vw, 867px" /></a>

After the script is re-launched, the installation will resume until all SharePoint binaries are installed.

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell.jpg"><img decoding="async" class="alignnone size-full wp-image-2234" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell.jpg" alt="" width="878" height="629" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell.jpg 878w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-300x215.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-768x550.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-696x499.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-586x420.jpg 586w" sizes="(max-width: 878px) 100vw, 878px" /></a>
<h1>Configuring the SharePoint Farm</h1>
After SharePoint is installed, the script will ask if we want to proceed with farm configuration. To proceed, select &#8220;y&#8221; and click ENTER. The script will, among others, perform the following actions:
<ul>
 	<li>Create all managed accounts</li>
 	<li>Configure IIS and SharePoint ULS log file paths</li>
 	<li>Create the configured web applications (ex: Intranet, My Site)</li>
 	<li>Configure the service applications</li>
 	<li>Configure outgoing email settings for the farm</li>
</ul>
After the farm configuration is completed, the Central Administration will be opened and SharePoint is installed!

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/SharePoint2016_CA.jpg"><img decoding="async" class="alignnone size-full wp-image-2224" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/SharePoint2016_CA.jpg" alt="" width="1366" height="663" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA.jpg 1366w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-300x146.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-768x373.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-1024x497.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-696x338.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-1068x518.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-865x420.jpg 865w" sizes="(max-width: 1366px) 100vw, 1366px" /></a>

<!-- wp:heading {"level":1} -->
<h1>Multi-Server Installation</h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->

If you want to install SharePoint 2016 in multiple servers there is a number of considerations that you have to take into account. Some of the most important decisions are:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>What is your farm topology and the number of servers you want to consider (WFEs, Application Servers and Database Servers)</li>
 	<li>Which services and service applications will be provisioned for each server</li>
 	<li>Will you be using MinRoles or will you use a custom installation where you will be manually selecting the services and service applications that will be provisioned for each server?</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

If you use MinRoles, these will supersede the individual service and service application selection for each server in the farm. These are the available MinRoles:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>Front-end</li>
 	<li>Application</li>
 	<li>Distributed cache</li>
 	<li>Search</li>
 	<li>Custom</li>
 	<li>Single-server farm</li>
 	<li>Front-end with Distributed Cache (merge of
Front-end and Distributed cache MinRoles). available with Feature Pack 1 update or later</li>
 	<li>Application with Search (merge of Application and Search MinRoles). available with Feature Pack 1 update or later</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

Each of the MinRoles automatically provisions a specific set of services and service applications. If you want to learn more about MinRoles, click <a href="https://docs.microsoft.com/en-us/sharepoint/administration/description-of-minrole-and-associated-services-in-sharepoint-server-2016" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.

<!-- /wp:paragraph -->

<!-- wp:paragraph -->

Once farm topology and service/service application distribution is decided, we are ready to install SharePoint 2016 in multiple servers. For the installation process, you basically have two options:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>Use Remote Installation</li>
 	<li>Install SharePoint individually in each SharePoint server</li>
</ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3>AutoSPInstaller Input File Configuration for Multi-Server Installation Notes when not using MinRoles</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->

If you decide not to use MinRoles and go for a Custom installation (which allows for a more granular selection of what services are provisioned in each server), you must ensure that the AutoSPInstaller XML input file in all servers is configured as Custom.

<!-- /wp:paragraph -->

<!-- wp:paragraph -->

When configuring AutoSPInstaller in the <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener">AutoSPInstaller web site</a> not to to use MinRoles, you will typically have a configuration similar to the one below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11669,"align":"center"} -->
<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="591" height="613" class="wp-image-11669" src="https://blogit.create.pt////wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles.jpg 591w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles-289x300.jpg 289w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles-405x420.jpg 405w" sizes="(max-width: 591px) 100vw, 591px" /></figure>
</div>
<!-- /wp:image -->

<!-- wp:image {"id":11670,"align":"center"} -->
<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="583" height="450" class="wp-image-11670" src="https://blogit.create.pt////wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices.jpg 583w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices-300x232.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices-544x420.jpg 544w" sizes="(max-width: 583px) 100vw, 583px" /></figure>
</div>
<!-- /wp:image -->

<!-- wp:paragraph -->

This seems correct but the generated XML configuration will have the following configuration in the &lt;ServerRoles&gt; section:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>&lt;<strong>Custom </strong>Provision=&#8221; <strong>false</strong>&#8221; /&gt;</li>
 	<li>&lt;<strong>SingleServerFarm </strong>Provision=&#8221;<strong>localhost</strong> &#8221; /&gt;</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

With the configuration above, each server will be installed with a single server role and you will only be able to join the first server to the farm. When you try to add the remaining servers, the AutoSPInstaller PowerShell script instead of adding the servers to the farm, will try to recreate the farm, which will result in the error below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11679} -->
<figure class="wp-block-image"><img decoding="async" class="wp-image-11679" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error.jpg?fit=696%2C239&amp;ssl=1" alt="" width="696" height="239" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error.jpg 1073w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-300x103.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-768x263.jpg 768w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-1024x351.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-696x239.jpg 696w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-1068x366.jpg 1068w" sizes="(max-width: 696px) 100vw, 696px" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->

If you try to add the server manually to the farm, you will get the error below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11675} -->
<figure class="wp-block-image"><img decoding="async" width="676" height="581" class="wp-image-11675" src="https://blogit.create.pt////wp-content/uploads/2019/10/SPFarmJoinError.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError.jpg 676w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError-300x258.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError-489x420.jpg 489w" sizes="(max-width: 676px) 100vw, 676px" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->

To solve this, you must edit the XML configuration to configure the servers as &#8220;Custom&#8221; and not &#8220;SingleServerFarm&#8221;, using with the following configuration:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>&lt;<strong>Custom </strong>Provision=&#8221;<strong>localhost</strong>&#8221; /&gt;</li>
 	<li>&lt;<strong>SingleServerFarm </strong>Provision=&#8221;<strong>false</strong>&#8221; /&gt;</li>
</ul>
<!-- /wp:list -->

<!-- wp:code -->
<pre class="wp-block-code"><code>&lt;ServerRoles&gt;
    &lt;Custom Provision="localhost" /&gt;
    &lt;WebFrontEnd Provision="false" /&gt;
    &lt;WebFrontEndWithDistributedCache Provision="false" /&gt;
    &lt;SingleServerFarm Provision="false" /&gt;
    &lt;Search Provision="false" /&gt;
    &lt;Application Provision="false" /&gt;
    &lt;ApplicationWithSearch Provision="false" /&gt;
    &lt;DistributedCache Provision="false" /&gt;
&lt;/ServerRoles&gt;</code></pre>
<!-- /wp:code -->

<!-- wp:list -->

<!-- /wp:list -->

<!-- wp:heading -->
<h2>Remote Installation</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->

In this approach, SharePoint will be installed using AutoSPInstaller on all servers from one of the SharePoint servers. The script will first install SharePoint locally on the server where the script is being executed and will then install SharePoint remotely on the other servers (all at once or one by one depending on AutoSPInstaller configuration file). The installation on the remote servers is performed using PowerShell Remoting and Windows Remote Management (WinRM). WinRM must be enabled for each of the servers where SharePoint will be installed remotely. To learn more about Remote Install (example for SharePoint 2013 but valid for SharePoint 2016 in what regards to remote installation), click <a href="https://www.c5insight.com/Resources/Blog/tabid/148/entryid/586/using-autospinstaller-to-build-a-three-tier-sharepoint-2013-farm-part-1.aspx" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.

<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Install SharePoint individually in each SharePoint server</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->

This option doesn&#8217;t require WinRM to be enabled on any of the servers but requires instead that the AutoSPInstaller installation folder (C:\SP in this post) is copied to all servers. Additionally, there are some important notes to consider:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>SharePoint bits must be installed on all servers <strong>but farm configuration must only be done once all servers have the SharePoint bits installed</strong>. You may Install the SharePoint bits (all steps before the &#8220;Configuring the SharePoint Farm&#8221; in this post) in all servers at the same time but you must stop the installation process once you are asked to continue with farm configuration</li>
 	<li>After the SharePoint bits are installed on all servers, you may proceed to the &#8220;Configuring the SharePoint Farm&#8221; section of this post <strong>BUT this must be done server by server, one at a time, sequentially</strong>. The AutoSPInstaller configuration file will determine what services and service applications are going to be provisioned on each server:
<ul>
 	<li>When you run the farm configuration in the first server, the farm will be created and the services and service applications that are configured to run on that server will be provisioned</li>
 	<li>When you run the farm configuration on the other servers, each server will be added to the farm and the services and service applications that are configured to run on that server will be provisioned</li>
</ul>
</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

To read the first part of this two part step by step tutorial, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here.</a>
<h1>Related Articles</h1>
To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.

<a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> is also already available for the recently announced new version SharePoint, SharePoint 2019. To learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here.</a>

If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.

If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.

If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.

If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noreferrer noopener">learning resources</a>.

If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.

If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

Happy SharePointing!

<!-- wp:paragraph -->

<!-- /wp:paragraph --><!-- /wp:paragraph --><p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 1)</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sat, 28 Jul 2018 19:02:54 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[AutoSPInstaller]]></category>
		<category><![CDATA[AutoSPSourceBuilder]]></category>
		<category><![CDATA[Deployment]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/miguelisidoro/?p=1484</guid>

					<description><![CDATA[<p>This post is the first part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell. To read the second part, click here. Introduction Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint 2016 [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This post is the first part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell.</p>
<p>To read the second part, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener" aria-label="To read the first part, click here. (opens in a new tab)">here</a>.</p>
<h1>Introduction</h1>
<p>Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint 2016 hardware and software requirements, click <a href="https://docs.microsoft.com/en-us/sharepoint/install/hardware-and-software-requirements" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>
<p>Installing a SharePoint farm can be a complex task and the installation process is composed by a series of steps:</p>
<ul>
<li>Downloading and installing SharePoint prerequisites</li>
<li>Downloading and installing the SharePoint binaries</li>
<li>Downloading and installing the lastest SharePoint updates</li>
<li>Downloading and installing the required language packs (optional, necessary if you want the SharePoint interface to be presented in a language other than English)</li>
<li>Configuring the SharePoint farm using SharePoint Products and Configuration Wizard</li>
</ul>
<p>All the above steps are time consuming and can be error prone if, for example, you miss to download any of the prerequisites.</p>
<p>Fortunately, it is possible to fully automate a SharePoint farm installation using PowerShell by using a script called <a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a>. The installation process can be divided in two major steps:</p>
<ul>
<li>Downloading the SharePoint installation package</li>
<li>Installing SharePoint and configuring the SharePoint farm</li>
</ul>
<p>This process can be used for the following versions of SharePoint:</p>
<ul>
<li>SharePoint 2010</li>
<li>SharePoint 2013</li>
<li>SharePoint 2016</li>
<li>SharePoint 2019 (to learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here)</a></li>
</ul>
<p>In this post, I will talk about the first part of the process: downloading the SharePoint installation package and I will use SharePoint 2016 as an example.</p>
<h1>Downloading the SharePoint installation package</h1>
<p>The download process will be managed by a script called <a href="https://github.com/brianlala/AutoSPSourceBuilder" target="_blank" rel="noopener noreferrer">AutoSPSourceBuilder</a> that will download the SharePoint installation package and all its dependencies and will create a folder structure ready to be used in <a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a>. The <a href="https://github.com/brianlala/AutoSPSourceBuilder" target="_blank" rel="noopener noreferrer">AutoSPSourceBuilder</a> script will download:</p>
<ul>
<li>All SharePoint prerequisites</li>
<li>The latest SharePoint updates</li>
<li>If specified. the desired language pack</li>
</ul>
<p>To download the SharePoint 2016 installation package, follow the steps below:</p>
<ol>
<li>Download <a href="https://www.microsoft.com/en-us/download/details.aspx?id=51493" target="_blank" rel="noopener noreferrer">SharePoint 2016</a>.</li>
</ol>
<p><img decoding="async" class="alignnone wp-image-1604 size-full" src="https://blogit.create.pt////wp-content/uploads/2018/07/SharePoint2016_Download.jpg" alt="" width="993" height="265" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Download.jpg 993w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Download-300x80.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Download-768x205.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Download-696x186.jpg 696w" sizes="(max-width: 993px) 100vw, 993px" /></p>
<p>2. Download <a href="https://github.com/brianlala/AutoSPSourceBuilder" target="_blank" rel="noopener noreferrer">AutoSPSourceBuilder</a>. After download, the folder should contain the following structure.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1694" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_Files.jpg" alt="" width="811" height="200" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_Files.jpg 811w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_Files-300x74.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_Files-768x189.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_Files-696x172.jpg 696w" sizes="(max-width: 811px) 100vw, 811px" /></p>
<p>3. Mount the .iso image of SharePoint 2016.</p>
<p><img decoding="async" class="alignnone size-full wp-image-6395" src="https://blogit.create.pt////wp-content/uploads/2018/07/SharePoint2016_Mount.jpg" alt="" width="443" height="141" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Mount.jpg 443w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Mount-300x95.jpg 300w" sizes="(max-width: 443px) 100vw, 443px" /></p>
<p>After mount, the mounted drive will have SharePoint installation files.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1954" src="https://blogit.create.pt////wp-content/uploads/2018/07/SharePoint2016_Files-2.jpg" alt="" width="768" height="810" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Files-2.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Files-2-284x300.jpg 284w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Files-2-696x734.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_Files-2-398x420.jpg 398w" sizes="(max-width: 768px) 100vw, 768px" /></p>
<p>4. Run the following script in a PowerShell window (run as administrator).</p>
<p><strong>.\AutoSPSourceBuilder.ps1 -GetPrerequisites $true -SharePointVersion &#8220;2016&#8221; -Languages &#8220;pt-pt&#8221;</strong></p>
<p>This script will download SharePoint 2016 with all prerequisites and the Portuguese language pack. Change the &#8220;Languages&#8221; parameter to the Language Pack you want to include in your installation.</p>
<p>The script will start by detecting the SharePoint image that was previously downloaded. If successfully detected, it will extract the SharePoint installation files from the mounted image to the C:\SP\2016 folder.</p>
<p><img decoding="async" class="alignnone size-full wp-image-6392" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_PowerShell.jpg" alt="" width="766" height="289" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_PowerShell.jpg 766w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_PowerShell-300x113.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_PowerShell-696x263.jpg 696w" sizes="(max-width: 766px) 100vw, 766px" /></p>
<p>5. Once the SharePoint installation files extraction is completed, you will be asked to select the SharePoint update that you want to include on your installation package. Select the latest available package (all SharePoint 2016 updates are cumulative and include all updates contained in the previous updates).</p>
<p><img decoding="async" class="alignnone size-full wp-image-6393" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion.jpg" alt="" width="1427" height="745" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion.jpg 1427w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-300x157.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-768x401.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-1024x535.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-696x363.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-1068x558.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_SelectVersion-804x420.jpg 804w" sizes="(max-width: 1427px) 100vw, 1427px" /></p>
<p>6. After selecting the SharePoint update, the script will resume and start downloading the SharePoint prerequisites. the selected language pack and the selected SharePoint update.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1634" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites.jpg" alt="" width="767" height="726" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites.jpg 767w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites-300x284.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites-696x659.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites-444x420.jpg 444w" sizes="(max-width: 767px) 100vw, 767px" /></p>
<p>7. After completion, the PowerShell window should look like the image below.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1644" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish.jpg" alt="" width="770" height="719" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish.jpg 770w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish-300x280.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish-768x717.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish-696x650.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_DownloadSPreRequisites_Finish-450x420.jpg 450w" sizes="(max-width: 770px) 100vw, 770px" /></p>
<p>The end result will be a structure of folders and files that will contain all the necessary files to install SharePoint with <a href="https://autospinstaller.com/">AutoSPInstaller</a>.</p>
<p>Root folder:</p>
<p><img decoding="async" class="alignnone size-full wp-image-6390" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure.jpg" alt="" width="264" height="185" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure.jpg 264w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure-100x70.jpg 100w" sizes="(max-width: 264px) 100vw, 264px" /></p>
<p>Language Packs folder:</p>
<p><img decoding="async" class="alignnone size-full wp-image-6396" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_LanguagePacks-1.jpg" alt="" width="614" height="113" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_LanguagePacks-1.jpg 614w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_LanguagePacks-1-300x55.jpg 300w" sizes="(max-width: 614px) 100vw, 614px" /></p>
<p>SharePoint bits folder (slipstreamed installation structure):</p>
<p><img decoding="async" class="alignnone size-full wp-image-1944" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2.jpg" alt="" width="788" height="818" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2.jpg 788w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2-289x300.jpg 289w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2-768x797.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2-696x722.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_SP-2-405x420.jpg 405w" sizes="(max-width: 788px) 100vw, 788px" /></p>
<p>Updates folder:</p>
<p><img decoding="async" class="alignnone size-full wp-image-1574" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_Update.jpg" alt="" width="613" height="142" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_Update.jpg 613w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPSourceBuilder_FolderStructure_Update-300x69.jpg 300w" sizes="(max-width: 613px) 100vw, 613px" /></p>
<p>To read the second part of this two part step by step tutorial, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<h1>Related Articles</h1>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p><a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> is also already available for the recently announced new version SharePoint, SharePoint 2019. To learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here.</a></p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noreferrer noopener">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Activating all Publishing Feature &#8211; Programmatically &#038; Powershell &#8211; SharePoint 2010, 2013, 2016 &#038; Online:</title>
		<link>https://blogit.create.pt/fabiocarvalho/2017/07/28/activating-all-publishing-feature-programmatically-powershell-sharepoint-2010-2013-2016-online/</link>
					<comments>https://blogit.create.pt/fabiocarvalho/2017/07/28/activating-all-publishing-feature-programmatically-powershell-sharepoint-2010-2013-2016-online/#respond</comments>
		
		<dc:creator><![CDATA[Fábio Carvalho]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 21:50:48 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Publishing Site]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/fabiocarvalho/?p=3774</guid>

					<description><![CDATA[<p>Hi Everyone!!! Today i will talk about Publishing Features!!! During this afternoon I was trying to activate Publishing Features but i wasn&#8217;t having success because Page Library not was created on activation! So there are more than two Publishing Feature that we need have in consideration, it&#8217;s not enough Activate Publishing Infrastructure Feature and Publishing Feature. If [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/07/28/activating-all-publishing-feature-programmatically-powershell-sharepoint-2010-2013-2016-online/">Activating all Publishing Feature &#8211; Programmatically &#038; Powershell &#8211; SharePoint 2010, 2013, 2016 &#038; Online:</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Everyone!!!</p>
<p>Today i will talk about Publishing Features!!! During this afternoon I was trying to activate Publishing Features but i wasn&#8217;t having success because Page Library not was created on activation! So there are more than two Publishing Feature that we need have in consideration, it&#8217;s not enough Activate Publishing Infrastructure Feature and Publishing Feature. If you want activate all Publishing Features you can do it pragmatically or using Powershell script:</p>
<p><span style="color: #800000"><strong>SharePoint Server &#8211; Powershell:</strong></span></p>
<pre class="brush: bash; title: ; notranslate"> 
Disable-SPFeature –identity 'publishingSite' -URL http://server/ -force
Disable-SPFeature –identity 'PublishingResources' -URL http://server/-force
Disable-SPFeature –identity 'Publishing' -URL http://server/ -force
Disable-SPFeature –identity 'PublishingLayouts' -URL http://server/ -force
Disable-SPFeature –identity 'publishingweb' -URL http://server/ -force

Enable-SPFeature –identity 'publishingSite' -URL http://server/ -force
Enable-SPFeature –identity 'PublishingResources' -URL http://server/ -force
Enable-SPFeature –identity 'Publishing' -URL http://server/ -force
Enable-SPFeature –identity 'PublishingLayouts' -URL http://server/ -force
Enable-SPFeature –identity 'publishingweb' -URL http://server/ -force
</pre>
<p><span style="color: #800000"><strong>SharePoint Online &#8211; Powershell:</strong></span></p>
<pre class="brush: bash; title: ; notranslate"> 
Disable-SPOFeature –Identity &quot;F6924D36-2FA8-4f0b-B16D-06B7250180FA&quot; -Scope Site
Disable-SPOFeature –Identity &quot;AEBC918D-B20F-4a11-A1DB-9ED84D79C87E&quot; -Scope Site
Disable-SPOFeature –Identity &quot;22A9EF51-737B-4ff2-9346-694633FE4416&quot; -Scope Web
Disable-SPOFeature –Identity &quot;D3F51BE2-38A8-4e44-BA84-940D35BE1566&quot; -Scope Site
Disable-SPOFeature –Identity &quot;94C94CA6-B32F-4da9-A9E3-1F3D343D7ECB&quot; -Scope Web

Enable-SPOFeature –Identity &quot;F6924D36-2FA8-4f0b-B16D-06B7250180FA&quot; -Scope Site
Enable-SPOFeature –Identity &quot;AEBC918D-B20F-4a11-A1DB-9ED84D79C87E&quot; -Scope Site
Enable-SPOFeature –Identity &quot;22A9EF51-737B-4ff2-9346-694633FE4416&quot; -Scope Web
Enable-SPOFeature –Identity &quot;D3F51BE2-38A8-4e44-BA84-940D35BE1566&quot; -Scope Site
Enable-SPOFeature –Identity &quot;94C94CA6-B32F-4da9-A9E3-1F3D343D7ECB&quot; -Scope Web
</pre>
<p><strong><span style="color: #800000">Also that you can activate Programmatically:</span></strong></p>
<pre class="brush: jscript; title: ; notranslate"> 

        private void ActivatePublishingFeatures(SPWeb web, SPSite site)
        {
            // Publishing Site
            string sharePointPublishingSite = &quot;f6924d36-2fa8-4f0b-b16d-06b7250180fa&quot;;
            Guid sharePointPublishingSiteGuid = new Guid(sharePointPublishingSite);

            if (site.Features&#x5B;sharePointPublishingSiteGuid] == null)
            {
                site.Features.Add(sharePointPublishingSiteGuid, true);
            }

            // Publishing Resources
            string sharePointPublishingResources = &quot;aebc918d-b20f-4a11-a1db-9ed84d79c87e&quot;;
            Guid sharePointPublishingResourcesGuid = new Guid(sharePointPublishingResources);

            if (site.Features&#x5B;sharePointPublishingResourcesGuid] == null)
            {
                site.Features.Add(sharePointPublishingResourcesGuid, true);
            }

            // Publishing
            string sharePointPublishing = &quot;22a9ef51-737b-4ff2-9346-694633fe4416&quot;;
            Guid sharePointPublishingGuid = new Guid(sharePointPublishing);

            if (web.Features&#x5B;sharePointPublishingGuid] == null)
            {
                web.Features.Add(sharePointPublishingGuid, true);
            }

            // Publishing Layouts
            string sharePointPublishingLayouts = &quot;d3f51be2-38a8-4e44-ba84-940d35be1566&quot;;
            Guid sharePointPublishingLayoutsGuid = new Guid(sharePointPublishingLayouts);

            if (site.Features&#x5B;sharePointPublishingLayoutsGuid] == null)
            {
                site.Features.Add(sharePointPublishingLayoutsGuid, true);
            }

            // Publishing Web
            string sharePointServerPublishingWeb = &quot;94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb&quot;;
            Guid sharePointServerPublishingWebGuid = new Guid(sharePointServerPublishingWeb);

            if (web.Features&#x5B;sharePointServerPublishingWebGuid] == null)
            {
                web.Features.Add(sharePointServerPublishingWebGuid, true);
            }
        }
</pre>
<p>Thanks</p>
<p><span style="color: #800000"><a href="https://www.linkedin.com/in/fmrgc/"><strong>Fábio Carvalho</strong></a></span><br />
SharePoint Consultant<br />
<strong>|create|</strong><span style="color: #ff0000"><strong>it</strong></span><strong>|</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/07/28/activating-all-publishing-feature-programmatically-powershell-sharepoint-2010-2013-2016-online/">Activating all Publishing Feature &#8211; Programmatically &#038; Powershell &#8211; SharePoint 2010, 2013, 2016 &#038; Online:</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/fabiocarvalho/2017/07/28/activating-all-publishing-feature-programmatically-powershell-sharepoint-2010-2013-2016-online/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SP Editor &#8211; Create and update SharePoint Online/SP2013/SP2016 css/js files, inject files to web, manage web properties and list Webhook</title>
		<link>https://blogit.create.pt/fabiocarvalho/2017/05/27/sp-editor-create-and-update-sharepoint-onlinesp2013sp2016-cssjs-files-inject-files-to-web-manage-web-properties-and-list-webhook/</link>
					<comments>https://blogit.create.pt/fabiocarvalho/2017/05/27/sp-editor-create-and-update-sharepoint-onlinesp2013sp2016-cssjs-files-inject-files-to-web-manage-web-properties-and-list-webhook/#comments</comments>
		
		<dc:creator><![CDATA[Fábio Carvalho]]></dc:creator>
		<pubDate>Sat, 27 May 2017 07:47:54 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[FrontEnd Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CSOM]]></category>
		<category><![CDATA[PnP]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/fabiocarvalho/?p=3244</guid>

					<description><![CDATA[<p>Hi Everyone!!! Today i will share a fantastic Google Chrome Extension that you can use on your developments on SharePoint. A Google Chrome Extension for creating and updating files (js, css), injecting files to sites, modifying web/list propertybag values (add, edit, remove, index) and creating webhook subscriptions, edit/add/remove webparts from publishing pages and run sp-pnp-js [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/05/27/sp-editor-create-and-update-sharepoint-onlinesp2013sp2016-cssjs-files-inject-files-to-web-manage-web-properties-and-list-webhook/">SP Editor &#8211; Create and update SharePoint Online/SP2013/SP2016 css/js files, inject files to web, manage web properties and list Webhook</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Everyone!!!</p>
<p>Today i will share a fantastic Google Chrome Extension that you can use on your developments on SharePoint.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-3284" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/05/SPEditor.png" alt="" width="1222" height="770" /></p>
<p>A<strong> Google Chrome Extension</strong> for creating and updating files (js, css), injecting files to sites, modifying web/list propertybag values (add, edit, remove, index) and creating webhook subscriptions, edit/add/remove webparts from publishing pages and run sp-pnp-js typescript snippets in <strong>SP2013</strong>,<strong> SP2016</strong> and <strong>SharePoint Online</strong> from Chrome Developer Tools.</p>
<p><a href="https://chrome.google.com/webstore/search/speditor">https://chrome.google.com/webstore/search/speditor</a></p>
<p>Take a look at  the great introduction video by <em>Jeff</em> Jones!</p>
<div class="youtube-embed" data-video_id="iezuTO40xGA"><iframe title="SP Editor Chrome Extension" width="696" height="392" src="https://www.youtube.com/embed/iezuTO40xGA?feature=oembed&#038;enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>
<p>Thanks</p>
<p><span style="color: #800000"><a style="color: #800000" href="https://www.linkedin.com/in/fmrgc/"><strong>Fábio Carvalho</strong></a></span><br />
SharePoint Consultant<br />
<strong>|create|</strong><span style="color: #ff0000"><strong>it</strong></span><strong>|</strong></p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/05/27/sp-editor-create-and-update-sharepoint-onlinesp2013sp2016-cssjs-files-inject-files-to-web-manage-web-properties-and-list-webhook/">SP Editor &#8211; Create and update SharePoint Online/SP2013/SP2016 css/js files, inject files to web, manage web properties and list Webhook</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/fabiocarvalho/2017/05/27/sp-editor-create-and-update-sharepoint-onlinesp2013sp2016-cssjs-files-inject-files-to-web-manage-web-properties-and-list-webhook/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint Online &#8211; Internal Fields Names &#038; how to use SPServices to get them!!!</title>
		<link>https://blogit.create.pt/fabiocarvalho/2017/05/26/sharepoint-online-internal-fields-names-how-to-use-spservices-to-get-them/</link>
					<comments>https://blogit.create.pt/fabiocarvalho/2017/05/26/sharepoint-online-internal-fields-names-how-to-use-spservices-to-get-them/#comments</comments>
		
		<dc:creator><![CDATA[Fábio Carvalho]]></dc:creator>
		<pubDate>Fri, 26 May 2017 08:57:06 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CSOM]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[SPServices]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/fabiocarvalho/?p=3204</guid>

					<description><![CDATA[<p>Hi Everyone, Today i will show you how can you get internal field names in a SharePoint List Items. As you know SharePoint have two types of Names &#8211; Internal Name and Display Name, it is extremity important when you are developing SharePoint solution get your fields by internal name, the InternalName never changes, you [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/05/26/sharepoint-online-internal-fields-names-how-to-use-spservices-to-get-them/">SharePoint Online &#8211; Internal Fields Names &#038; how to use SPServices to get them!!!</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Everyone,</p>
<p>Today i will show you how can you get <strong>internal field</strong> names in a<strong> SharePoint List Items</strong>.<br />
As you know SharePoint have<strong> two types</strong> of Names &#8211; <strong>Internal</strong> <strong>Name</strong> and <strong>Display</strong> <strong>Name</strong>, it is extremity important when you are developing SharePoint solution get your fields by internal name, the <strong>InternalName</strong> never changes, you only can change <strong>DisplayName</strong>, this maintain your <strong>solution stable</strong>.</p>
<p>So let&#8217;s Look some ways to get the I<strong>nternal Name</strong>:</p>
<ol>
<li>Open the List Settings page</li>
<li>Under the Columns section, select a column to view the Edit Column page</li>
<li>The URL of this page includes the internal name in the query string. For example, the URL for the <span style="color: #800000"><strong><tt>Created By</tt></strong></span> field includes the following query string <strong><tt>List=%7BF641CEF1%2DCDE2%2D49E1%2D9800%2D861A408EF890%7D&amp;Field=<span style="color: #800000">Author</span></tt></strong>. The value for the Field parameter, <strong><span style="color: #800000"><tt>Author</tt></span></strong>, is the internal name for<span style="color: #800000"><strong> <tt>Created By</tt></strong></span>.</li>
</ol>
<p>You can also apply a sort order on your list view on the column that you want get the internal name, this will generate an URL that contains the <span style="color: #800000"><strong>Internal Name</strong></span>:</p>
<p><strong>FolderCTID%3D0x012000DDDEBA09D4201845A62AEDBA6A906745-SortField%3D<span style="color: #800000">Author</span>-SortDir%3DAsc-</strong></p>
<p>Now i will demonstrate how you can get Internal Name by Display Name using <span style="color: #800000"><a style="color: #800000" href="https://spservices.codeplex.com/wikipage?title=$().SPServices.SPGetStaticFromDisplay&amp;referringTitle=Documentation" target="_blank" rel="noopener noreferrer">SPGetStaticFromDisplay</a></span></p>
<pre class="brush: jscript; title: ; notranslate"> 

var internalName = $().SPServices.SPGetStaticFromDisplay ({
  listName: &quot;Cars&quot;,
  columnDisplayName: &quot;Car Models&quot;
});

</pre>
<p><strong>Read more</strong>: http://sympmarc.com/2015/01/27/get-the-internalname-for-a-sharepoint-list-column/</p>
<p>Thanks</p>
<p><span style="color: #000000"><a style="color: #000000" href="https://www.linkedin.com/in/fmrgc/"><strong>Fábio Carvalho</strong></a></span><br />
SharePoint Consultant<br />
<strong>|create|</strong><span style="color: #ff0000"><strong>it</strong></span><strong>|</strong></p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/05/26/sharepoint-online-internal-fields-names-how-to-use-spservices-to-get-them/">SharePoint Online &#8211; Internal Fields Names &#038; how to use SPServices to get them!!!</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/fabiocarvalho/2017/05/26/sharepoint-online-internal-fields-names-how-to-use-spservices-to-get-them/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint &#8211; Get all alerts from a specific SP List/Library using Powershell</title>
		<link>https://blogit.create.pt/fabiocarvalho/2017/03/25/sharepoint-get-all-alerts-from-a-specific-sp-listlibrary-using-powershell/</link>
					<comments>https://blogit.create.pt/fabiocarvalho/2017/03/25/sharepoint-get-all-alerts-from-a-specific-sp-listlibrary-using-powershell/#comments</comments>
		
		<dc:creator><![CDATA[Fábio Carvalho]]></dc:creator>
		<pubDate>Sat, 25 Mar 2017 10:52:54 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/fabiocarvalho/?p=3011</guid>

					<description><![CDATA[<p>Hey Everyone!!! Today i will talk about List and Library Alerts and how can you get all Active alerts for a specific list using powershell script and how can you disable all alerts. This is very useful script, when you need move a large list of items on a maintenance routine and you don&#8217;t want [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/03/25/sharepoint-get-all-alerts-from-a-specific-sp-listlibrary-using-powershell/">SharePoint &#8211; Get all alerts from a specific SP List/Library using Powershell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hey Everyone!!!</p>
<p>Today i will talk about <strong>List and Library Alerts</strong> and how can you get all Active alerts for a specific list using powershell script and how can you disable all alerts.</p>
<p>This is very <strong>useful script</strong>, when you need move a <strong>large list</strong> <strong>of items</strong> on a maintenance routine and <strong>you don&#8217;t want send a large number of emails/ notifications</strong> for users who subscribe alerts, this script help you <strong>disable and enable</strong> them.</p>
<p>This first PowerShell Script get all SharePoint list alerts with state <strong>active</strong>.</p>
<pre class="brush: bash; title: ; notranslate"> 

Add-PSSnapin Microsoft.SharePoint.PowerShell –ErrorAction SilentlyContinue

#Variables
$WebURL = &quot;http://YourWebUrl&quot;
$ListName=&quot;YourListName&quot;

#Function to Get All Active Alerts on a Given List
Function Get-ListAlerts($WebURL, $ListName)
{
  #Get the Web and List objects
  $Web = Get-SPWeb $WebURL
  $List = $web.Lists.TryGetList($ListName)

  #Get All Alerts created in the list - Which are Active
  $ListAlerts = $Web.Alerts | Where-Object {($_.List.Title -eq $List.Title) -and ($_.Status -eq &quot;ON&quot;)}

  foreach($Alert in $ListAlerts)
  {
          write-host &quot;Alert' - $($Alert.Title)' Created for User - '$($Alert.User.Name)'&quot;
  }

 #Dispose web object
 $Web.Dispose()
}

#Call the function Appropriately to Disable or Enable Alerts 
Disable-ListAlerts $WebURL $ListName

 </pre>
<p>&nbsp;</p>
<p>If you want <strong>disable</strong> all alerts on this specific list you just need run the following script.</p>
<pre class="brush: bash; title: ; notranslate"> 

Add-PSSnapin Microsoft.SharePoint.PowerShell –ErrorAction SilentlyContinue

#Variables
$WebURL = &quot;http://YourWebUrl&quot;
$ListName=&quot;YourListName&quot;

#Function to Disable All Active Alerts on a Given List
Function Disable-ListAlerts($WebURL, $ListName)
{
  #Get the Web and List objects
  $Web = Get-SPWeb $WebURL
  $List = $web.Lists.TryGetList($ListName)

  #Get All Alerts created in the list - Which are Active
  $ListAlerts = $Web.Alerts | Where-Object {($_.List.Title -eq $List.Title) -and ($_.Status -eq &quot;ON&quot;)}

  Write-host &quot;Total Number of Active Alerts Found in the list: $($ListAlerts.Count)&quot; 
 
  #Iterate through each alert and turn it OFF
  foreach($Alert in $ListAlerts)
  {
     $Alert.Status=&quot;OFF&quot;
     $Alert.Update()
     write-host &quot;Disabled the Alert' $($Alert.Title)' Created for User '$($Alert.User.Name)'&quot;
  }
 
 #Dispose web object
 $Web.Dispose()
}

#Call the function Appropriately to Disable or Enable Alerts 
Disable-ListAlerts $WebURL $ListName

</pre>
<p>&nbsp;</p>
<p>Thanks</p>
<p><span style="color: #000000"><a style="color: #000000" href="https://www.linkedin.com/in/fmrgc/"><strong>Fábio Carvalho</strong></a></span><br />
SharePoint Consultant<br />
<strong>|create|</strong><span style="color: #ff0000"><strong>it</strong></span><strong>|</strong></p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/03/25/sharepoint-get-all-alerts-from-a-specific-sp-listlibrary-using-powershell/">SharePoint &#8211; Get all alerts from a specific SP List/Library using Powershell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/fabiocarvalho/2017/03/25/sharepoint-get-all-alerts-from-a-specific-sp-listlibrary-using-powershell/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint Online &#8211; Storage Metrics &#8211; Monitor storage usage in your Site Collection</title>
		<link>https://blogit.create.pt/fabiocarvalho/2017/03/23/sharepoint-online-storage-metrics-monitor-storage-usage-in-your-site-collection/</link>
					<comments>https://blogit.create.pt/fabiocarvalho/2017/03/23/sharepoint-online-storage-metrics-monitor-storage-usage-in-your-site-collection/#respond</comments>
		
		<dc:creator><![CDATA[Fábio Carvalho]]></dc:creator>
		<pubDate>Thu, 23 Mar 2017 23:25:35 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[Storage Metrics]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/fabiocarvalho/?p=2881</guid>

					<description><![CDATA[<p>Hey Everyone!!! Today i will talk about Storage Metrics in your SharePoint Site Collection!!! Everyone knows what is the main feature on SharePoint that you could interact with and Structure of SharePoint Site Collections! right!? Site Content and Struct (/_layouts/sitemanager.aspx)!!! Site Content and Structure page, give you a great overview about all your Site Collection [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/03/23/sharepoint-online-storage-metrics-monitor-storage-usage-in-your-site-collection/">SharePoint Online &#8211; Storage Metrics &#8211; Monitor storage usage in your Site Collection</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hey Everyone!!!</p>
<p>Today i will talk about <strong>Storage Metrics</strong> in your <strong>SharePoint Site Collection</strong>!!!</p>
<p>Everyone knows what is the main feature on SharePoint that you could interact with and Structure of SharePoint Site Collections! right!? <strong>Site Content and Struct (/_layouts/sitemanager.aspx)</strong>!!!</p>
<p><img decoding="async" class="aligncenter wp-image-2891 size-full" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/dure.png" alt="" width="1279" height="683" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/dure.png 1279w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-300x160.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-768x410.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-1024x547.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-696x372.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-1068x570.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/03/dure-787x420.png 787w" sizes="(max-width: 1279px) 100vw, 1279px" /></p>
<p><strong>Site Content and Structure</strong> page, give you a <strong>great overview</strong> about all your Site Collection structure. This feature, available since Microsoft Office <strong>SharePoint Server 2007</strong>, give the capability to <strong>navigate dynamically</strong> on your site collection hierarchy, it is familiar to Windows Explorer in fact. You can see the site collection hierarchy in the navigation pane<strong> as a tree view</strong> on the left of the Site Content and Structure page.</p>
<p>But, if you need know <strong>more details about storage</strong>, probably don&#8217;t help you as you expect, so in this case you case access to <strong>Storage Metrics (/_layouts/storman.aspx).</strong></p>
<p><img decoding="async" class="aligncenter wp-image-2931 size-full" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/Capsture.png" alt="" width="1176" height="875" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/Capsture.png 1176w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-300x223.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-768x571.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-1024x762.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-80x60.png 80w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-265x198.png 265w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-696x518.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-1068x795.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/03/Capsture-564x420.png 564w" sizes="(max-width: 1176px) 100vw, 1176px" /></p>
<p>&nbsp;</p>
<p>Storage Metrics underneath Site Collection Administration, access to your all sub-sites and libraries in <strong>SharePoint Online</strong> ( also available for SharePoint 2010, <strong>SharePoint 2013</strong> and <strong>SharePoint 2016</strong>) and give you the information about <strong>how much storage they are consuming</strong>.</p>
<p>It is great!!! Because Storage Metrics allows you to <strong>drill down</strong> to each site, library and even folder to show a very granular report on your storage consumption, this is very important if you need migrate a large lists or even you are planning an migration between SharePoint Versions <strong>without any 3rd Party tool.</strong></p>
<p><span style="color: #800000"><strong>Take a Look:</strong></span></p>
<p><img decoding="async" class="aligncenter size-full wp-image-2951" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/Captursse.png" alt="" width="1175" height="877" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/Captursse.png 1175w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-300x224.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-768x573.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-1024x764.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-80x60.png 80w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-265x198.png 265w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-696x519.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-1068x797.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/03/Captursse-563x420.png 563w" sizes="(max-width: 1175px) 100vw, 1175px" /></p>
<p><img decoding="async" class="aligncenter size-full wp-image-2961" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/Captuerre.png" alt="" width="1175" height="417" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre.png 1175w, https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre-300x106.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre-768x273.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre-1024x363.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre-696x247.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/Captuerre-1068x379.png 1068w" sizes="(max-width: 1175px) 100vw, 1175px" /></p>
<p><img decoding="async" class="aligncenter size-full wp-image-2971" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/Captewure.png" alt="" width="1170" height="841" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/Captewure.png 1170w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-300x216.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-768x552.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-1024x736.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-696x500.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-1068x768.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/03/Captewure-584x420.png 584w" sizes="(max-width: 1170px) 100vw, 1170px" /></p>
<p>&nbsp;</p>
<p><img decoding="async" class="aligncenter size-full wp-image-2981" src="http://blogit.create.pt/fabiocarvalho/wp-content/uploads/sites/271/2017/03/Capeee.png" alt="" width="1173" height="597" srcset="https://blogit.create.pt/wp-content/uploads/2017/03/Capeee.png 1173w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-300x153.png 300w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-768x391.png 768w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-1024x521.png 1024w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-696x354.png 696w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-1068x544.png 1068w, https://blogit.create.pt/wp-content/uploads/2017/03/Capeee-825x420.png 825w" sizes="(max-width: 1173px) 100vw, 1173px" /></p>
<p>&nbsp;</p>
<p>Thanks</p>
<p><span style="color: #000000"><a style="color: #000000" href="https://www.linkedin.com/in/fmrgc/"><strong>Fábio Carvalho</strong></a></span><br />
SharePoint Consultant<br />
<strong>|create|</strong><span style="color: #ff0000"><strong>it</strong></span><strong>|</strong></p>
<p>The post <a href="https://blogit.create.pt/fabiocarvalho/2017/03/23/sharepoint-online-storage-metrics-monitor-storage-usage-in-your-site-collection/">SharePoint Online &#8211; Storage Metrics &#8211; Monitor storage usage in your Site Collection</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/fabiocarvalho/2017/03/23/sharepoint-online-storage-metrics-monitor-storage-usage-in-your-site-collection/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
