SharePoint: Function to Change title and description

Function fChangeTitleAndDescription($SPUrl,$Title,$Description)
{
	try
	{
		$web = Get-SPWeb $SPUrl
		$web.Title = $Title
		$Web.Description =  $Description
		$Web.Update()
	}
	catch [Exception]
	{}
}

Leave a Reply

Your email address will not be published.