Report SharePoint Content Source Last Crawl Duration

Here’s a simple Windows PowerShell script example to list out the search service content sources and the last crawl duration times. $results = @() function Get-FormatedTimeSpan() { param([TimeSpan]$TimeSpan) if($TimeSpan -and $TimeSpan -eq [TimeSpan]::MinValue -or $TimeSpan -eq [TimeSpan]::MaxValue) { $TimeSpan = [TimeSpan]::Zero } return [string]::Format( “{0:D2}:{1:D2}:{2:D2}”, $TimeSpan.Days * 24 + $TimeSpan.Hours, $TimeSpan.Minutes, $TimeSpan.Seconds); } # enumerate…

0

Export Test-SPContentDatabase Results to a CSV File

If you want to collect the results from Test-SPContentDatabase into a CSV file, you can do some with some additional PowerShell code.  The following will create a timestamped CSV file containing the output from Test-SPContentDatabase. # array to store the output $results = @() # enumerate all the databases in the farm Get-SPContentDatabase | %…

0

Set PowerShell ISE as the Default Program for Opening PowerShell Scripts

If you want to set PowerShell ISE as the default application for opening PowerShell script files (.ps1), you simple need to change the file type associations on the local machine. Open Control Panel > Programs > Default Programs > Associate a file type or protocol with a program. Navigate to the .ps1 file extension and…

1

Enabled Forms Based Authentication in ADFS 3.0

Because I always forget where this setting is, and I see several of unanswered and incorrect forum posts on how to change the AuthN settings from Windows Authentication to Forms Based Authentication for ADFS 3.0, here’s how to make the change. On your ADFS server, open the ADFS snap-in, click Authentication Policies from the left…

1

The spelling check cannot be completed because there is no dictionary installed for the current language

If you are receiving the following error trying to use the spell check feature in SharePoint 2010 or SharePoint 2013, chances are the issue is due to insufficient security permission on an installation folder. This feature requires that the <server name>\Users group on the local server has Read permission to the OFFICE14/OFFICE15 folder in your…

0

Wildcard Inclusion Used to Create Personal Sites Does Not Exist

If you are leveraging Personal Sites in SharePoint 2013 you may run into an error with the non-interactive timer job used to create Personal Sites as a background task.  The timer job calls into the UserProfile Service application to create the Personal Site using the CreatePersonalSite() method, nothing special there.  However, in this method, the…

5

SharePoint 2013 Maintenance Window Notifications

SharePoint 2013 introduced a new class called SPMaintenanceWindow.  SPMaintenanceWindow encapsulates a maintenance window message you can post to end users at the content database level.  The maintenance window message is somewhat limited by the fact that you can not compose your own custom message on the status bar.  The functionality does allow you to do…

16

SharePoint Portal Server 2003 Assembly Types and Corresponding Type Ids

Posting this for reference for folks upgrading SharePoint 2003/2007/2010/2013. Some of these Type Ids may show up as “Unknown Type” in a Missing server file or server configuration issues in a MOSS 2007 PreUpgradeCheck report or in a SharePoint 2010 upgrade log file. Having these IDs in a searchable format on the internet can be…

0

SharePoint 2007 Assembly Types and Corresponding Type Ids

Posting this for reference for folks upgrading SharePoint 2003/2007/2010/2013. Some of these Type Ids may show up as “Unknown Type” in a Missing server file or server configuration issues in a MOSS 2007 PreUpgradeCheck report or in a SharePoint 2010 upgrade log file. Having these IDs in a searchable format on the internet can be…

0

WSS 2003 Assembly Types and Corresponding Type Ids

Posting this for reference for folks upgrading SharePoint 2003/2007/2010/2013.  Some of these Type Ids may show up as “Unknown Type” in a Missing server file or server configuration issues in a MOSS 2007 PreUpgradeCheck report or in a SharePoint 2010 upgrade log file.  Having these IDs in a searchable format on the internet can be…

0