Find All Inactive Features in SharePoint with PowerShell
What is inactive Feature in SharePoint? Well, Features which are installed but not activated anywhere!Here is the PowerShell script to find inactive features for SharePoint:Add-PSSnapin...
View ArticleStart SharePoint Search Crawl using PowerShell
For some reasons, SharePoint search crawl scheduled didn't trigger. So I used this PowerShell script and Windows Task scheduler to trigger Incremental crawls.Start SharePoint Search Full/Incremental...
View ArticleFind SharePoint Site Column Usage - Report
When trying to delete a SharePoint site column, it gave me an alert saying "Site columns which are included in content types cannot be deleted.Remove all references to this site column prior to...
View ArticleHow to Upload a List Template using PowerShell
Task: Upload a custom list template to specific site collections in a web application. While upload a list template using from SharePoint web interface is simple, wanted to automate this process as its...
View ArticleIncrease Maximum size of Site, List Templates in SharePoint
In SharePoint 2007, You can't save a list or site template (.stp ) file which is bigger than 10MB. MOSS 2007 gives an error message:" The list is too large to save as a template. The size of a template...
View ArticleHow to Get Managed Account Password in SharePoint?
SharePoint Managed accounts feature was introduced in its 2010 version, and of course its a wonderful feature to manage service accounts (I remember those old days.. We used to create a batch file to...
View ArticleUpdate List Item Metadata Fields (Created By, Last Modified) using PowerShell
Ever wanted to update SharePoint list or library item's metadata fields such as: "Created By" "Modified By" "Created" "Last Modified"? These column values must be updated while copying items from one...
View ArticleFind All Users who Accessed the SharePoint Sites in the Past One Year
Requirement: Get the E-mail ids of all users who accessed SharePoint sites during the past one year!Solution: Lets use Log Parser and PowerShell to fulfill this requirement. Here is how:Locate your...
View ArticleHow to Disable "I Like It" "Tags & Notes" in SharePoint 2010
'I Like it' and 'Tags and Notes' features are introduced in SharePoint 2010 to improve user collaboration, social communication capabilities and to enable users to provide their feedback on items,...
View ArticleAdd/Remove/Get Event Receivers in SharePoint with PowerShell
We usually use C# console application or feature activation code to register event receivers with the target list or library in SharePoint. At times, we may have to handle event receiver associations...
View ArticleSharePoint Web Part Usage Report - Find All Locations where a Particular web...
During Migration, I had to get the URLs where a particular web part is being used. So, Used this PowerShell script to generate SharePoint web part usage report.This script made compatible with...
View ArticleFind Who has Created / Modified a SharePoint View
Every wondered how to find the user who has created/modified a particular SharePoint view? and when it was created/modified? Well, There is no SharePoint UI to get these information! But using...
View ArticleExclude a Column from SharePoint Search Crawl
Requirement: We keep few fields for configuration in a custom SharePoint application and don't want those fields to appear in SharePoint Search results.Solution:SharePoint Fields/Columns has a...
View ArticleImport XML File Data into SharePoint List using PowerShell
Requirement: We've an utility from third-party system that generates project data in XML format. We had to import those data to a list in the PMO site. In other words: We've to import from XML file to...
View ArticleExport SharePoint List Items to XML using PowerShell
Sometime back, I wrote a PowerShell script to import from a XML file to SharePoint list Import XML File Data into SharePoint List using PowerShell. Now the requirement is in reverse: Export SharePoint...
View ArticleAdd Custom Scope to SharePoint Search Dropdown using PowerShell
Requirement: We've created a custom search scope "Search All Documents" in SharePoint Central Admin and would like to include it in search scope drop downs of few site collections.SharePoint 2010 add...
View ArticleSharePoint 2010 Search Scope Drop Down Missing?
SharePoint 2010 search drop downs such as "All Sites", "People" missing in site collections? Shows only "Search This site..." in search box? Well, That's the default setup in SharePoint 2010.Enable...
View ArticleCopy Attachment from SharePoint List to Document Library using SharePoint...
SharePoint keeps attachments under "List >> Attachments >> 'List Item ID'" folder path. So, if you want to copy attachment from list to document library, follow these steps: Open your...
View ArticleGet SharePoint Site Collection, Web, List Objects from GUID
Requirement: On Nintex workflow databases, Ran a query to fetch workflow usage statistics, and the query gave GUIDs of SPSite, SPWeb and SPList objects!SELECT TOP 100 I.WorkflowName,...
View ArticleRestart SharePoint Timer Service Remotely using PowerShell
SharePoint Timer service must be restarted for certain configuration changes in SharePoint administration activities. Well, without logging into each and every SharePoint server and restarting timer...
View Article