There is a new web application created in sharepoint onpremise server, how to know when it was created and who created it

Lalram Murugaboopathy 0 Reputation points
2024-07-18T16:50:11.1866667+00:00

There is a new web application created in sharepoint onpremise server, how to know when it was created and who created it

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,336 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,940 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ling Zhou_MSFT 17,135 Reputation points Microsoft Vendor
    2024-07-19T01:51:50.0333333+00:00

    Hi @Lalram Murugaboopathy,

    Thank you for posting in this community.

    According to Microsoft's official documentation, the properties of the Web Applicaiton are stored in the SPWeb class, but the properties of the SPWeb only record the date when the web application was created, not the creator. So, we can only get the creation date of the web application.

    User's image

    Reference: SPWeb properties.

    You can run the following command to get the creation date of the web application:

    $wa = Get-SPWebApplication https://sharepointsitename.com
    $sites = $wa.Sites
    
    foreach ($site in $sites)
    {
      $web = $site.rootweb
      write-host $web.Url, $web.created
      $site.dispose()
    }
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.