Dec 13 2018 03:29 AM
Hi Folks ,
I'm looking for a PowerShell script to create a SharePoint Online site inventory . I used the below mentioned Powershell command which almost gives all the details I'm looking for except the site creation date . Could someone help me with a command or perhaps a script which gives all the details about all the SharePoint Online site collections including the creation date ?
The report which I get from the modern SP admin centre doesn't give all the details I'm looking for even though it gives the creation date .
Get-SPOSite -Limit All | Export-CSV -LiteralPath G:\SiteInventory.csv -NoTypeInformation
Dec 13 2018 04:06 AM
Dec 13 2018 09:48 PM
@Thuyavan Ganesan....This for SP on-premises ....I'm looking for SPO
Dec 14 2018 08:33 PM
I think you're issue is that you are looking at the site collection itself, and this object doesn't have a Created date property. If you load the root web of that site collection, it will have the $web.Created property you're looking for.
Apr 26 2019 06:05 AM