In this post I show you a simple PowerShell script to retrieve Managed Account Passwords for SharePoint 2010 / SharePoint 2013. This is actually a repost and I do not want to claim any credits for this post - see the original here by Jason Himmelstein (<= thank you!!!). Why do I repost? I never find the PowerShell when I need it, even tho I have it in my almighty OneNote!
ITPro
Recently I had the request to locate all files that are bigger than 40 MB - and they were located in the entire farm across multiple Site Collections. Easy you might say? Just use search and query for size>41943040 Well, I said efficiently and thats the most efficient way - you are right! They key constraint here is that those files were excluded from search - so lets go for the PowerShell way.
Creating Search Driven Applications is very easy with SharePoint 2013 - sometimes. For a really simple example you need 6 steps for SharePoint content (read detailed article here) Add some columns with values to a list Full crawl Create a Managed Property with the corresponding mapping Full Crawl Drop a Search WebPart (Search Result WebPart, Content By Search or one of the other options) Create a query that fits your needs Bam!