There is a document library named “RequestDocuments”. When I add an attachment to a list item, that corresponding file (for example abc.txt with the item ID as 112) is getting created in the following path “RequestDocuments/2018/112/abc.txt”. There is a year folder automatically getting created under the Documnet library. Under this year folder, another folder corresponding to the item ID is created. The attachment is getting stored under this item Id folder. I want a powershell script to delete these attachments and the corresponding item ID folder.