change sharepoint site url rename subsite url

User need to change sharepoint site url or site collectiion url that we call as top level site and rename the url of subsite of as well. Rename and change subsite address or url is not much difficult but change site url top level needs special attention. Renaming the site name not change the url, we need powershell to achive this. Run the below powershell command metioned below to change url of site in sharepoint.

$site = Get-SPSite http://win-q2repghf9du:44179/sites/SharePointTechnicalSupport
$site.Rename("http://win-q2repghf9du:44179/sites/SPMCSE")
Advertisements

After running the powershell script do an iis reset.

iisreset
Change sharepoint site collection url rename subsite url
Advertisements
Advertisements

change maximum upload file size limit in sharepoint

maximum upload file size limit need to increase or decrease in sharepoint when we receive request from user. User facing issue like “file size exceeds the limit allowed” when trying to upload file of size large. Then user request to increase sharepoint upload file size limit for site. SharePoint administrator can follow any one of the two methods below.

Advertisements
  • Increase file size upload in sharepoint using UI method
  • change upload file size limit using powershell

Increase file size upload limit using UI method

Follow step by step procedure as below to increase sharepoint upload file size limit for a site using UI method.

manage web application in sharepoint 2019
Advertisements
  • Selelct the web application for which you want to change the file size limit.
  • Click on “General Settings” from ribbon.
general settings in manage web application sharepoint 2019
  • One windows dialog box will open. Scroll down and identify the option “Maximum Upload Size”.
  • Edit the value present under Maximum Upload Size to any value with in default value threshold limit of maximum uploading file size 10 gb.
Advertisements
maximum upload file size limit in sharepoint 2019
Advertisements

change file size upload limit using powershell

we can use powershell to change the limit of maximum upload file size. Use the command below to apply the chnage.

$webApp = Get-SPWebApplication http://win-q2repghf9du:44179/
$webApp.MaximumFileSize = 10240
$webApp.Update()
increase upload size limit in sharepoint 2019
Advertisements

Default threshold limit for uploading a maximum file size is 10gb. we have to modify and keep the modified value with in this limit of 10 gb. Higher the value of Maximum Upload Size, impact of performance in sharepoint server will be high.

Advertisements

change list url in sharepoint 2019 to create duplicate list

change list url in sharepoint 2019 to create duplicate list is an important task for an administrator. When list view threshold of a list is crossing the limit, user want to create similar list with different name. we can copy list items form one list to another list in this situation. We can follow other ways as well as below.

Advertisements
  • Export list using powershell and import in UAT. Else we can backup content database and restore using powershell in UAT as well.
  • Rename list and change list url in sharepoint using powershell.
  • Export list in UAT using powershell and import list in PROD using powershell. Else you can follow recovering list from unattached content database.
Advertisements

Export list using powershell and import list in SharePoint UAT

Follow the blog post export import list library sites in sharepoint to export list from PROD and import in UAT.

Advertisements

Backup content database in sharepoint and restore using powershell in UAT

Follow the blog post dismount Mount content database in sharepoint 2019 using powershell to do back up and restore content database.

Advertisements

Rename list and change url of list using powershell

Once list is moved to UAT, we can use below powershell for list url change. Modifying title of list using UI method will not update the url, it will remain unchanged, So we have to using powershell method change list address.

List name before rename
list url before change
Advertisements
$liUrlOriginal="/Lists/Budget2020";
$liUrlNew="/Lists/Budget2020Archieved";
$web= Get-SPWeb -Identity http://spmcse-sp19:37985/sites/SPMCSE
$li=$web.GetList($web.Url + $liUrlOriginal)
$rootFolder=$li.RootFolder;
$rootFolder.MoveTo($web.Url + $liUrlNew)
change list url in sharepoint using powershell
list url after change
Advertisements

Export list in sharepoint UAT using powershell and import list in PROD

Follow the blog post export import list library sites in sharepoint to export list from UAT and import in PROD. Else you can follow, list recovery method from unattached content database as described below.

Advertisements

Recover list from an unattached content database in sharepoint 2019

You can follow export import list method as mentioned above or you can use recovering a specific list from unattached content database method.

Advertisements

change sharepoint list url completed. Duplicate list or a similar list with reference to another list in same site is created in production environment. Save list as template including content is one of the solution to create duplicate list but there will be error if the number of items is very high, especially for financial sites, we can follow these process.

Follow the video below, to understand better in video format.

Advertisements