This is a useful option which provides output in a readable manner that is easy to show to a business user. Read the View-AllCrawledProperties-PipelineExtensibility script documentation for additional details on this utility.
// Write the input file to a location the application has access to write in.
static
void
WriteOutInputFile(
string
inputFile)
{
localLow = Environment.GetEnvironmentVariable(
"USERPROFILE"
) + @
"\appdata\LocalLow"
;
pipelineInputData = Path.Combine(localLow,
"PipelineExtensibilityLog"
);
Directory.CreateDirectory(pipelineInputData);
outFile = Path.Combine(pipelineInputData,
DateTime.Now.ToString(
"yyyyMMddHHmmss.ffff"
) +
".xml"
File.Copy(inputFile, outFile);
return
}
http://msdn.microsoft.com/library/ff795801.aspx http://gallery.technet.microsoft.com/scriptcenter/en-us/834cd7a8-4e87-4b5a-bef9-a519fd1712ba http://msdn.microsoft.com/en-us/library/ff795826.aspx
Contributors: Barry Waldbaum, Brent Groom
Carsten Siemens edited Revision 6. Comment: Fixed misspelling
Ed Price MSFT edited Revision 2. Comment: Updated title case and added a horizontal rule.
Hi there and thanks for the great information. Unfortunately I do not have FAST search installed on our SharePoint server at work. I need to pretty much do the same thing here as you've done but without having FAST search involved.
Can I do the same thing or something similar using the regular old SharePoint search? Using SharePoint 2010.
My real goal I guess is to remove all people's names from appearing in search results. And I also want to know what values the crawled properties have during a real-time search because I want to know which information is coming from which property based on the value.