I am currently working on a script that should remove an anonymous link from SharePoint using Powershell. I don't know where to start and i would like to know if somebody has an idea on how to do it.
The goal of the script is that we should remove entirely a link, i know microsoft can remvove the access after a few day but the link still exists it is just expired. I would like to destroy this link in order to be able to create another one
thanks in advance :)