Get document by SharingDocId with Powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-1109486%22%20slang%3D%22en-US%22%3EGet%20document%20by%20SharingDocId%20with%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109486%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20found%20the%20hidden%20list%20%22%3CFONT%3ESharing%20Links%22%20on%20a%20SharePoint%20site.%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20607px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F165443i74EA820AC57E5178%2Fimage-dimensions%2F607x255%3Fv%3D1.0%22%20width%3D%22607%22%20height%3D%22255%22%20alt%3D%222020-01-15%2010_16_41-Windows%20PowerShell%20ISE.png%22%20title%3D%222020-01-15%2010_16_41-Windows%20PowerShell%20ISE.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CDIV%3E%3CFONT%3EIt%20seems%20that%20all%20shared%20links%20are%20stored%20in%20this%20list.%20Now%20my%20question%3A%20How%20do%20I%20get%20to%20the%20shared%20document%20using%20this%20link%3F%20I%20assume%20that%20the%20SharingDocId%20references%20the%20document.%20%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20559px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F165444iA1744351475210A1%2Fimage-dimensions%2F559x841%3Fv%3D1.0%22%20width%3D%22559%22%20height%3D%22841%22%20alt%3D%222020-01-15%2010_17_41-Windows%20PowerShell%20ISE.png%22%20title%3D%222020-01-15%2010_17_41-Windows%20PowerShell%20ISE.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3EDoes%20anyone%20have%20an%20idea%3F%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CFONT%3EBye%26nbsp%3B%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3EJens%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1109486%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharedLinks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Hi,

I found the hidden list "Sharing Links" on a SharePoint site. 

2020-01-15 10_16_41-Windows PowerShell ISE.png

It seems that all shared links are stored in this list. Now my question: How do I get to the shared document using this link? I assume that the SharingDocId references the document.
2020-01-15 10_17_41-Windows PowerShell ISE.png
Does anyone have an idea?
 
Bye 
Jens
0 Replies