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

Sorting in Typescript (Simple Arrays & Array of Objects)

SharePoint Framework (SPFx) Tab Control (react)

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