Dec 14 2020
Is there any way to check if url is SharePoint Site URL or Document Library URL or Folder Url or Item level URL using PowerShell?
I also want to check if user enter url like https://sitename.com/sub/default.aspx or https://sitename.com/sub/homegroup.aspx or https://sitename.com/sub. I want it to return as https://sitename.com/sub using PowerShell.
Sorry If am asking basic questions.