I have a SharePoint site which I want to search all document libraries where
column1 = 'hello' and then print out the columns
title, scope and
column1. Then output the result to a file.
I want to do this in a PowerShell script. I'm not sure how to go about this, this is the start:
Get-SPSite mysite | Select -ExpandProperty Lists | Select -ExpandProperty Fields | Select Name, Scope, Column1 | Out-File test.txt
I am not sure how to do the where clause, I've seen
where-object, Iäm confused how to do the where clause?