Powershell

Found a missing feature ID=’xxxx’ during SharePoint 2010 upgrade

There are many tools out there to detect and remove/delete any feature references in your content database when you face ‘Found a missing feature ID=’XXXX’ during SharePoint ugrade . This can be done directly in SQL database – which is not suggested ofcourse. When i am trying to mount and upgrade a MOSS 2007 content […]

Read More

PowerShell script to download all Farm solutions in SharePoint Farm

Recently when i was preparing a SharePoint Farm for upgrade which has lot of custom and 3rd party farm solutions, I have to download or some how gather all those .wsp files to move to new server farm. I had rough time gathering all the wsp’s until i stumble upon this script which download all […]

Read More

PowerShell script to perform IISRESET on all servers in SharePoint Farm

This is a handy PowerShell script to have for every SharePoint admin. I’m sure, most of you have already had something like this. This script is used to Reset all the Servers in SharePoint farm one after other without logging into each and every server. This comes handy during maintenance or in your Development environment […]

Read More

SharePoint Configuration Wizard – Error: Some farm products and patches were not detected on this or other servers

Faced this issue after updating SharePoint 2013 farm with December CU 2014. Tried running psconfig and several other things. SharePoint keeps on thinking that some of the binaries are not installed on some of the servers in the farm. Gives you a list of updates missing on servers. “Error: Some farm products and patches were […]

Read More

SharePoint 2013 Search components & topology info

If you are looking to find details about already configured SharePoint 2013 Search components like information about what component is running in what server, topology id, log file location etc., we can use the following PowerShell script to find that. $ssa = Get-SPServiceApplication –Name “Search Service Application” $active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active Get-SPEnterpriseSearchComponent -SearchTopology […]

Read More

System.ServiceModel.EndpointNotFoundException – PSConfig – SharePoint 2010/2013

‘An exception of type System.ServiceModel.EndpointNotFoundException was thrown. Additional exception information: There was no endpoint listening at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. After installing a cumulative update for fixing a bug in our SharePoint 2013 farm, I […]

Read More

Cannot find scheduled task in Task Scheduler – Windows Server 2008

You have a PowerShell script which needs to be run once everyday. After all the testing, you decide you schedule it as a task in ‘Task Scheduler’ in Windows server. Task is scheduled, everything is setup. You come back next day and couldn’t find scheduled task. You find Task Status, Active Tasks and Overview of Task […]

Read More

PowerShell command to find name of list

Here is a simple PowerShell command to find name of list when you have the GUID. This can be handy when you are trying to clear up you crawl errors Get-SPWeb http://yourweb/site/ -Limit ALL| %{$_.Lists} | ?{$_.ID -eq “GUID goes here”}| ft Title, ParentWebURL

Read More