How can i find all absolute urls in an entire sharepoint web application?
How can i find all absolute urls in an entire sharepoint web application?
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:
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.
Do you have any progress on this issue?
Please remember to update this thread if you need further assistance.
I’m checking how the things are going on about this issue. Whether the post helps you?
You can accept the post as answer if it helps.
Thank you for your understanding and support.
6 people are following this question.