문제

I have to get data from sharepoint tenant based on createdby using Search api powershell .In search results there are allitems.aspx and sitepages,Pages,Forms/Allitems.aspx,calendar.aspx also .How can i exclude these files from search results?

My query text is: $queryText=" createdby:username AND NOT fileextension:html" By above query text i can exclude only html files but not files mentioned above.How can i acheive this?

도움이 되었습니까?

해결책

Short answer is : - contentclass:STS_List_*

The slightly longer answer is to have a look at https://www.techmikael.com/2014/11/tired-of-getting-allitemsaspx-hits-in.html?m=1

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top