How to get site collection created date in SharePoint Online

 

How to get site collection created date in SharePoint Online


Q: How to get the site collection created date in SharePoint online

Answer: 

This can be done using the PnP SharePoint commands

$connection = Connect-PnPOnline -Url "<SITE URL>" -ReturnConnection -UseWebLogin
$web = Get-PnPWeb -Includes Created -Connection $connection
Write-Host $web.Created



Happy Coding...!!!

Comments

Popular posts from this blog

Rename Folder using Microsoft Flow / Power Automate in a Document Library in SharePoint Online

Power Automate: How to Add "New Line" to the text in SharePoint multiline text field

Power Automate: Rename file in SharePoint Online