April 2011 - SharePoint Tips

  • Use Thesaurus Files to create synonyms or replacements in Search Queries

    Mattias Karlsson -Expert in Residence Thesaurus Files are a way for administrators to improve search results by creating synonyms or replacement words used in their queries. For example, you can create a synonym for the word SharePoint so when a user is making a search for the word WSS, you would also get results with the word SharePoint. The Thesaurus Files are located on the SharePoint server in the folder: %ProgramFiles%\Microsoft Office Servers...
    Filed under:
  • Hide a list in SharePoint 2010

    Niklas Goude -Expert in Residence You can use Windows PowerShell to hide a list in SharePoint 2010. Simply store an instance of an SPList Object, set the Hidden property to $true and update the SPList object. PS > $spWeb = Get-SPWeb http : // sp01 / site PS > $spList = $spWeb . GetList ( "http://sp01/site/Lists/MyList" ) PS > $spList . Hidden = $true PS > $spList . Update () ReTweet this Tip!
  • Understand database mirroring requirements for disaster recovery purposes

    Sean McDonough -Expert in Residence SharePoint 2010 is mirroring aware and utilizes the FailoverPartner keyword in its database connection strings to identify a SQL Server instance that is used for mirroring purposes. Upon learning this, it might be tempting to jump right in and start mirroring SharePoint databases for redundancy. Before doing so, though, you should be aware that the following requirements apply: • Less than 1ms latency between...
  • Find information about your SharePoint databases

    Niklas Goude -Expert in Residence You can use the Get-SPDatabase cmdlet to display information about the SharePoint databases. PS > Get-SPDatabase The example above displays all SharePoint databases. If you want to display a specific Database, use the identity parameter followed by the database ID. PS > Get-SPDatabase -Identity f9213ca2 - 3604 - 42e5 - b6cf - 92740 fbed83a ReTweet this Tip!
  • Directly Sending Files Stored in SharePoint

    Kenneth Lo -Expert in Residence The single best way to share documents with your peers is using the "E-mail a Link" function that is built right in the Ribbon. Occasionally, your recipients do not have access to your SharePoint environment, and you need to resort to the old-fashioned route by emailing these email attachments. Below is a two-step process that lets you send documents that are stored in SharePoint directly via Microsoft Outlook...
    Filed under:
  • Add a new service application pool

    Niklas Goude -Expert in Residence You can use the New-SPServiceApplicationPool cmdlet to create new Web service application pools in IIS. PS > New-SPServiceApplicationPool -Name “ AppPool ” ` >> -account ( Get-SPManagedAccount domain\account ) ReTweet this Tip!
    Filed under:
  • Add Authoritative Pages to improve search results

    Mattias Karlsson -Expert in Residence Authoritative Pages are a way for administrators to tweak search results. When adding Authoritative Pages, the relevancy ranking of a search result is calculated by how many clicks from the Authority Page the sites are located. These pages can then be designated in four different ways: most authoritative, second-level authoritative, third-level authoritative, or non-authoritative. Managing these Authority Pages...
  • Change the account used for a Web service application pool

    Niklas Goude -Expert in Residence You can change the account used for the identity of a specific service application pool by using the Set-SPServiceApplicationPool cmdlet. PS > Get-SPServiceApplicationPool -Identity “ AppPool ” | >> Set-SPServiceApplicationPool -Account domain\account ReTweet this Tip!
  • Improve search results with Keywords and Best Bets

    Mattias Karlsson -Expert in Residence An easy way to improve the search relevancy in SharePoint is to use Keywords and Best Bets, which are created by the Site Collection Administrator as a way to promote important information to end users. For example, you might know that a common search query for employees is the word “benefits” to help them find out the different benefits for an employee. But since the word “benefits” is...
  • Display information about your Web service application pools

    Niklas Goude -Expert in Residence You can use the Get-SPServiceApplication cmdlet to display information about your IIS service application pools. By default, the Name and ProcessAccountName properties are displayed. You can use Select-Object if you want to display all properties. PS > Get-SPServiceApplicationPool -Identity "Metadata AppPool" | >> Select-Object * ReTweet this Tip!
  • Search scopes

    Mattias Karlsson -Expert in Residence Search scopes is a way to define a subset of information to make the search result more accurate. The can be very useful when you want to enable searches in a specific content source or for a specific type of content. Search scopes are in SharePoint 2010 created at the Search Service application. Go to Application Management -> Manage Service applications and click on your Search Service Application. On the...
  • Display the Farm Build Version

    Niklas Goude -Expert in Residence You can display the Farms build Version with a one-liner in Windows PowerShell. Simply type: PS > Get-SPFarm | Select -ExpandProperty BuildVersion Major Minor Build Revision ----- ----- ----- -------- 14 0 4762 1000 ReTweet this Tip!
  • Move Site collections to new databases in SharePoint 2007

    Mattias Karlsson -Expert in Residence When content databases had grown too large or if you for other reasons want to move a site collection or collections from on content database to another you can use the stsadm operation mergecontentdbs. The stsadm command allows you to either move all site collections from one content database to another of use an xml-file as input file with all the sites that should be moved. The xml-file needs to be in the same...
  • Modify Farm Configuration Information

    Niklas Goude -Expert in Residence You can use the Set-SPFarmConfig cmdlet to modify configuration information. If you want to change the workflow batch size, simply type: PS > $farmConfig = Get-SPFarmConfig PS > $farmConfig . WorkflowBatchSize = 120 PS > $farmConfig | Set-SPFarmConfig ReTweet this Tip!
  • Restrict content changes in Site collections

    Mattias Karlsson -Expert in Residence In some occasions such as archiving or when moving sites between content databases it is possible to set site collections to read-only. By setting the site collection to read only users are still able to browse and access the content but it will not be possible to add or change content. This can be done using PowerShell to automate it in e.g. a lifecycle plan for site collection but can also be done using Central...
1 2 Next >
Idera SharePoint Reviews SMBology, Inc. Rackspace Hosting Sponsored by Idera and SharePoint Reviews and SMBology and EPCGroup.net
Copyright 2011 SecretsOfSharePoint.com. All rights reserved.