I have SharePoint server and have document library and this document library have many folders inside files having custom column "IsBackUp" and i want move the files whose column property "IsBackup" is true .
Example :
--------------------------------------------------------------------------------------------------------------------------
Document Library IsBackup
Folder1
File11 No
File12 Yes
Fodler2
File21 Yes
File22 Yes
Folder3
SubFolder31
File331 Yes
File332 No
SubFolder32
Folder4
SubFolder41
----------------------------------------------------------------------------------------------------------
I want to use 'PnP' script to move the document library files who custom property "IsBackup" true into system drive including the folder structure of file. From the above example "File12", "File21" , "File22" & "File331" should be moved to local drive including folder structure.
How can we achieve this?