Tag Archives: PowerShell

Show Web Template

Carrying on from my previous post Hide Web Template, this post demonstrates how to show a web template in the New Site dialog for a specific web using a PowerShell script: function Add-SPWebTemplate { [CmdletBinding()] param( [parameter(Position=1,Mandatory=$true)][Microsoft.SharePoint.SPWeb]$web ) process { … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

Hide Web Template

In PowerShell, if you want to remove a web template from the New Site dialog for a specific web, take a look at the following script: function Remove-SPWebTemplate { [CmdletBinding()] param( [parameter(Position=1,Mandatory=$true)][Microsoft.SharePoint.SPWeb]$web ) process { $templateList = New-Object "System.Collections.ObjectModel.Collection“1[[Microsoft.SharePoint.SPWebTemplate, Microsoft.SharePoint, … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

Export MetaData Terms

Central administration provides a way to import metadata term sets and terms by uploading a CSV file. However, it does not provide a mechanism for exporting terms to a CSV. There are quite a lot of PowerShell and command line … Continue reading

Posted in SharePoint, Taxonomy | Tagged , , | 13 Comments

SPRequest ULS Entries

The SharePoint ULS logs always report objects not being explicitly disposed of, even for some of the SharePoint object model calls, although these are supposedly false positives. Now, not all entries that are flagged will be issues, but initially there’s … Continue reading

Posted in SharePoint | Tagged , , | Leave a comment

Start SharePoint Timer Job Script

I’ve written a PowerShell script that starts a SharePoint timer job, which is useful if you do a lot of work that relies on certain timers firing and don’t want to have to keep going into the Central Administration site … Continue reading

Posted in SharePoint | Tagged , | 2 Comments