being both quite new to both PowerShell and SharePoint 2010 I'm wondering if there is any way to make a script for searching a lists for links that begins in a certain way? I want to find all the links that starts with "http", "https" or "file//" and since I'm not quite up to speed with neither PS or SP2010 I felt it was better to ask before I started doing anything. Thx for any help or pointers, even smug remarks are appreciated if they in some way help out!
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
If I understand you correctly, by 'searching a list for links' you actually need to search list for HyperLink fields? If that is true here is simple PS script that search all list in given web for links starting by "http", "https" or "file":
Edited: I edited my original code to answer additional question posted in comments (how to save results as txt file?). I made minor adjustments and marked them with |
|||||||||||||||
|