How can i find all absolute urls in an entire sharepoint web application?

SHAREPOINTER 1 Reputation point
2021-04-27T08:14:29.273+00:00

How can i find all absolute urls in an entire sharepoint web application?

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. cheong00 3,486 Reputation points Volunteer Moderator
    2021-04-27T10:44:57.983+00:00

    See if the instruction here to enable "Site Content and Structure" item helps.

    0 comments No comments

  2. JoyZ 18,111 Reputation points
    2021-04-28T02:43:55.283+00:00

    @SHAREPOINTER ,

    If you want to list all the sites with absolute url under the web application, use the following Powershell:

    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue  
       
    #Set the Web application URL  
    $WebAppURL="http://xxx.crescent.com"  
       
    #Get the Web Application          
    $WebApp = Get-SPWebApplication $WebAppURL  
       
    #Get all Site collections from the web application  
    $SitesCollection  = $WebApp.Sites  
       
    #Enumerate all site collections in the web application  
    Foreach($Site in $SitesCollection)  
    {  
        #Get Site Collection URL, Owner, Content Database Details  
        Write-host $Site.URL  
    }  
    

    If this is not feasible for you, feel free to reply.

    More information for your reference:

    https://www.sharepointdiary.com/2016/10/get-all-site-collections-in-web-application-using-powershell.html

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.