Browse by Tags

Related Posts
  • Blog Post: Warm up script in PowerShell for SharePoint 2010 Environment

        # Warm up script for web apps along with the site collections within them in SharePoint 2010 environment Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue # The get-webpage function is from http: //kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/ function...
  • Blog Post: PowerShell and PSConfig

        Just like the PSConfig command, we can also use PowerShell to configure the SharePoint farm from scratch. Though we can install SharePoint and create a new farm using PowerShell as well, I have not covered it under this this post. Below is a set of PSConfig commands and their equivalent...
  • Blog Post: MOSS 2007 - Find the default view url for all lists in a web app using PowerShell

    param ( $url = $(Read-Host -Prompt "WebApp Url" ) ) # Default View for lists in All Sites # Lookup Web Application as specified in the command line parameter $wa = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup($url) # Create an array $sites =@() Write-Output( "`nProcessing...
  • Blog Post: Default Site Templates in SharePoint Server 2010

    Posted @ http://social.technet.microsoft.com/wiki/contents/articles/20100.default-site-templates-in-sharepoint-server-2010.aspx
  • Blog Post: List Template types and IDs in SharePoint

    To identify the template Id of the list, navigate to the list and go to the 'All Items' view. In the browser, go to 'View - Source' and search for “ctx.listTemplate”. The ‘Pages’ Library will show – “ctx.listTemplate = 850” and the ‘Images’ library will show “ctx.listTemplate = 101”. For other template...
  • Blog Post: Running PowerShell on MOSS 2007

      If you are running MOSS 2007 on Windows Server 2003 the you have to download and install PowerShell from http://support.microsoft.com/kb/968930 . Windows Server 2008  natively supports PowerShell. Set the  Execution Policy to 'RemoteSigned'. You can check it by running 'Get-ExecutionPolicy...
  • Blog Post: Get Content types, Type IDs, Field names, Field Internal names and the GUIDs in SharePoint 2010

      Below is the list of the display names (friendly names that are presented to the end user), GUIDs and corresponding internal names for the default fields of a Document Library. You can also use this PowerShell script to retrieve all available Content Type GUIDs and their respective fields from...
  • Blog Post: Retrieve the list of Content Types in MOSS 2007 using PowerShell

      MOSS 2007 [ void ][System.Reflection.Assembly]::LoadWithPartialName( "Microsoft.SharePoint" ) | out-null Write-host ".." Write-host ".." Write-host "Get a list of Content types" $site = new -object Microsoft.SharePoint.SPSite( "http://spweb/extend"...
  • Blog Post: User Profile Synchronization Database Growing Out of Control

        In SharePoint Server 2010, the profile synchronization database keeps growing after each sync. This seems to be expected behavior at the time of writing this post. If you review the Database Types and Descriptions ( http://technet.microsoft.com/en-us/library/cc678868.aspx ) article on TechNet...
  • Blog Post: Create a new Search Service Application in SharePoint 2013 using PowerShell

      The search architecture in SharePoint 2013 has changed quite a bit when compared to SharePoint 2010. In fact the Search Service in SharePoint 2013 is completely overhauled. It is a combination of FAST Search and SharePoint Search components. As you can see the query and crawl topologies are merged...
  • Blog Post: Retrieve timer job history for a specified time range using PowerShell

        # Retrieve timer job history for a specified time range # Initial settings $Wa = Get-SPWebApplication " http://WebAppUrl "    # Supply the web app url here $From = " 2/13/2013 12:00:00 AM "  # mm/dd/yyyy hh:mm:ss $To = " 2/14...