SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking into a way to search for a specific URL within SharePoint. I have seen the solution that searches with PowerShell script for searching lists for specific links? and but I need something a bit in between.

The last solution would be great, if I could just filter its results into to display just the urls that contain a specific URL (for examples, lets just call it Is it possible to modify the line $customLinkObjects | Select-Object WebTitle,WebURL,TopNavLink,TopLinkTitle,TopLinkURL,QLHeaderTitle,QLHeaderLink,QLChildLinkTitle,QLChildLink,ListName,ItemTitle,ItemURL,PageContentLink | Export-Csv $filePath to filter out the results unless the result is equal to ?

Or if there is a more elegant solution, please let me know. I am grateful for any help.

share|improve this question

Yes its possible you just need to come up with the script. Se the following samples: Cheers

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Please don’t add just a link as answer to a question. If the link is broken, the answer you provided will not be useful for future visitors. Provide an answer of your own and use the link as reference. If needed you can block quote the content from your link. More information is found in our help center, especially How do I write a good answer – Benny Skogberg Jan 9 '14 at 11:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.