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

create add a content database in sharepoint 2019

create add a content database is the most common and frequent task in sharepoint 2019 for an administrator. Tasks during sharepoint migration, database upgrade, back up restore of content database, admin follows one of task to add a content database in web application. We can follow manual process of from sharepoint central admin UI method or by using powershell. So in this post will discuss how to create content database.

Advertisements

add a content database in sharepoint using UI method

Follow the step by step procedure to add a content database to web application.

  • Open sharepoint central admin.
  • Click on “Application Management” from left navigation.
  • Click on “Manage content databases” present under “Database”.
manaage content databases in shaarepoint 2019
Advertisements
  • Click on “Add a content database”.
Add a content database in sharepoint 2019
Advertisements
  • Enter “Database Server” name.
  • Enter “Database Name” present under “Database Name and Authentication”.
  • Enter “Number of sites before a warning event is generated”. Once number of sites reached to this number, will send warning mail to admin.
  • Enter “Maximum number of sites that can be created in this database”. This would be the maximum number of site collections can be created. Finally click on “OK”.
database capacity settings database name
Advertisements
  • Content databse is created and available in sql db server as below.
content database in sql database server
Advertisements
content database added to web application
Advertisements

create content database in sharepoint using powershell

We can use powershell command to add a content database instead of following multiple options from central admin. Run the powershell cmdlet New-SPContentDatabase as below to add a new content database.

New-SPContentDatabase "WSS_Content_9999" -DatabaseServer "WIN-56R9D2TBFOB" -WebApplication http://win-56r9d2tbfob:39760/ -MaxSiteCount 20 -WarningSiteCount 19
adding content database to web application using powershell
Advertisements
Advertisements
Advertisements