I need to get documents from specific folder from siteassets and .aspx files from Pages library. I tried:
$quertText="contentclass:STS_ListItem_DocumentLibrary" this query retrieving all documents from the documentlibrary and also from siteassets.But how to get documents from specific folder from site assets And same for pages library from specific folder i should get .aspx files .How can i acheive this?