Apologies for the basic question,my Googling skills obviously not up to the task!
So, I am trying to list all properties of an object, which include a certain string in the value.
For example, list any AD user properties. for e specific user, that contain "John" in the value.
so if I do get-aduser John -propetirs *| how do I filter this so it only returns properties that contain slthe string "John" anywhere in the value?