We have several documents in our online SharePoint site. We need to write a Powershell script that will return a list of all documents with a specific word in it. Is this command supposed to return content this way?
Example: Submit-PnPSearchQuery "my Name" where any document that includes that phrase in the body of it should be returned in the result rows.