in this article I would like to discuss about artifacts Lists and Libraries. As we know that we have some variation between SharePoint on premise and SharePoint Online, it is always good to know what available list of templates in SharePoint Online are?
For ease of access, I have implemented the below PowerShell script which will display list of available templates in SharePoint Online. You can write and debug the PowerShell script in Windows PowerShell ISE or you can also write in Visual Studio code.
#Variables that needs to be set before starting the script
$strSiteURL = “<< Site URL >>”
$strUsrName = “<< User Name >>”
# Reading password for the user account
$strPWD = Read-Host “Please enter the password for $($strUsrName)” -AsSecureString