SharePoint Tips

  • Add a new service application pool in SP

    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!
  • Add Authoritative Pages to improve search results in SP

    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 can be done at the Search Service Application...
  • Change the account used for a Web service application pool in SP

    Change the account used for a Web service application pool PS > Get-SPServiceApplicationPool -Identity “ AppPool ” | >> Set-SPServiceApplicationPool -Account domain\account ReTweet this Tip!
  • Improve search results with Keywords and Best Bets in SP

    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 commonly used in pages and documents...
  • Display information about your Web service application pools in SP

    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!
  • Create SharePoint Lists From A Microsoft Excel Spreadsheet in SP

    With the “Import Spreadsheet” feature in SharePoint, you can take an existing Microsoft Excel spreadsheet and convert it into a SharePoint list. This is particularly useful when you have a lot of data in a spreadsheet that you want to import into SharePoint, or if you need to create a new list that should contain a lot of columns. This makes it easier to use the first row in your spreadsheet and type the name of your columns. When importing...
  • Displaying The Left Navigation Menu in SP

    The left navigation menu is available out of the box and can also be customized by the navigation settings in the site settings menu. By default, the left navigation does not appear in a web part page. To show the left navigation, customize the page in SharePoint Designer via these simple steps – Delete or comment out these tags : < SharePoint : UIVersionedContent ID = "WebPartPageHideQLStyles" UIVersion = "4" runat =...
  • Set The Lockstate Of Site Collections in SP

    You can control the lock state of a Site Collection by using the Set-SPSiteAdministration cmdlet. There are four levels of LockState available: Unlock - Sets the site collection to unlock NoAdditions - No new content can be added as only updates and deletions are allowed Readonly - Sets the site collection to read-only Noaccess - Sets the site collection to unavailable to all users You can set the LockState to “NoAdditions” if you want...
  • Failover Database Server in SP

    A new feature in SharePoint 2010 is that SharePoint is now “mirroring-aware.” As you may have seen when creating a new content database in SharePoint 2010, you have the option to specify the failover server. This property can be used when you have set up a mirroring of the SQL-layer, allowing SharePoint to add the failover server to the connection string. In case of a SQL-Server time-out, this allows the SQL server to failover to the configured...
  • Integrate Active Directory Fields Into Sharepoint Via The User Profile Import Services in SP

    One common business requirement is to direct various tasks to a user’s supervisor(s) for approval, feedback or review. For most organizations, the supervisor’s or manager’s information is stored in Active Directory. The Active Directory fields can be integrated into SharePoint via the user profile import service. With SharePoint 2010 Designer, a new out-of-the-box feature is the ability to query Active Directory fields that are imported...
  • Add Custom Validation to a Field in SP

    You can add custom validation to a field in SharePoint 2010 using Windows PowerShell. The example below demonstrates how to configure the title field so that it only accepts values that are 15 characters or less: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spList = $spWeb . Lists [ "Tasks" ] PS > $splist . ValidationFormula = "=LEN(Title)<=15" PS > $splist . ValidationMessage = >> "The Title...
  • Disable List Deletion in SP

    If you don’t want users to be able to delete a specific SharePoint 2010 list, you can disable list deletion using Windows PowerShell. The example below demonstrates how to disable deletion of the tasks list on a Web site: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spList = $spWeb . Lists [ "Tasks" ] PS > $spList . AllowDeletion = $false PS > $spList . Update () PS > $spWeb . Dispose () ReTweet this Tip...
  • Add Permission Levels to a Group in SP

    You can add permission levels to a user or group in SharePoint 2010 using Windows PowerShell. First, store the permission level in a variable, next retrieve the user or group from the role assignments collection, and finally use the add() method to add a specific permission level. The example below demonstrates how to grant the members group full control on a Web site: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $roleDefinition...
  • Adding Custom Permission Levels in SP

    You can create custom permission levels in SharePoint 2010 using Windows PowerShell. Start by creating a new object of the type Microsoft.SharePoint.SPRoleDefinition. Then, add a name and description and set the base permissions that you want to use: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $perm = New-Object Microsoft.SharePoint.SPRoleDefinition PS > $perm . Name = "Custom Permissions" PS > $perm . Description...
  • Grant Permissions in SP

    You can grant permissions to a user or group in SharePoint using Windows PowerShell. Simply add the user or group to the role assignment collection:. PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spPrincipal = [ Microsoft.SharePoint.SPPrincipal ] $spWeb . SiteGroups [ $rGroup ] PS > $spWeb . RoleAssignments . Add ( $spPrincipal ) PS > $spWeb . Dispose () ReTweet this Tip!
1 2 3 4 5 Next > ... Last »
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.