Do you want to get the SharePoint list name or GUID? You can use PowerShell for this. In this tutorial, I will show how to get the SharePoint list name from its list GUID using PowerShell.
I will also explain how to get the SharePoint list GUID using PowerShell. The entire tutorial will be very helpful if you are working with list GUIDs.
Note: The PowerShell script is compatible with SharePoint On-Premises versions.
Retrieve SharePoint List GUID using Browser
Before checking the PowerShell approach, let me show you how to retrieve the SharePoint list GUID directly from the browser.
To get the GUID of a particular SharePoint list, open the SharePoint list settings page using a browser, and then you will see something like the following in the URL.
http://win-pfcp2dgt8di/sites/EnjoySharePoint/_layouts/15/listedit.aspx?List=%7B58A98D82-3F9A-4FB6-8CA4-7DB31E233EB2%7DNow notice whatever present after List= %7B58A98D82-3F9A-4FB6-8CA4-7DB31E233EB2%7D. Here, whatever is presented after %7B and before %7D is your list GUID.
That is the list ID, but we need to format it like below:
- Change “%7B” to “{“
- Change all “%2D” to “-“
- Change “%7D” to “}”
Now the ID should look like this: {58A98D82-3F9A-4FB6-8CA4-7DB31E233EB2}. This is the SharePoint list GUID.
Check out Export and Import SharePoint Online Site as Template using PowerShell
Get SharePoint list GUID using PowerShell
Here, I will show you how to retrieve the GUIDs of all the SharePoint lists and libraries within a SharePoint site collection using PowerShell.
Here is the complete PowerShell script.
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$site = Get-SPSite http://win-pfcp2dgt8di/sites/EnjoySharePoint/
$web = $site.RootWeb
$lists = $web.lists
$lists | Format-Table title,id -AutoSizeAs shown in the screenshot below, the display includes all lists and libraries from the SharePoint site, along with their corresponding GUIDs.

You can also modify the PowerShell script to display lists and libraries separately. Below is the modified script.
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$site = Get-SPSite http://win-pfcp2dgt8di/sites/EnjoySharePoint/
$web = $site.RootWeb
$lists = $web.lists | Where-Object { $_.BaseType -Eq "GenericList" }
$lists | Format-Table title,id -AutoSize
$libraries = $web.lists | Where-Object { $_.BaseType -Eq "DocumentLibrary" }
$libraries | Format-Table title,id -AutoSizeThis is how to get the SharePoint list GUID using PowerShell.
Check out Connect to SharePoint Online Using PowerShell
Retrieve SharePoint List Name from GUID using PowerShell
Now, let us see how to retrieve the SharePoint list name from a GUID using PowerShell.
Let me tell you where we need this in one of our projects.
Recently, we encountered an error in ULS Logs that displays the GUID of the SharePoint list. We then used PowerShell to obtain more information about the list.
Below is the PowerShell command that will return the List Name, Web URL, and Root folder. You can run the PowerShell cmdlets in Windows PowerShell ISE.
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Get-SPSite http://win-pfcp2dgt8di/sites/EnjoySharePoint/ | Get-SPWeb -Limit ALL | %{$_.Lists} |?{$_.ID –eq "B13CC473-6187-4478-A0DD-853E83AA6F9D"} |ft Title, ParentWebURL, RootFolderNow, you can see that the PowerShell cmdlets return information about the SharePoint list.

Read Add SharePoint Online List Items Using PowerShell
Get the SharePoint List’s Created Date using PowerShell
Now, let me show you another useful PowerShell example. Here, I will demonstrate how to retrieve the creation date of a SharePoint list using PowerShell.
There is no direct way to retrieve the list’s creation date out of the box in SharePoint. However, we can use PowerShell to get the creation date of the SharePoint list..
In this example, I have a SharePoint site in which I have a SharePoint list named Testing. I want to retrieve the creation date of the list using PowerShell.
Below is the PowerShell script.
Add-PSSnapin Microsoft.Sharepoint.Powershell
$web = Get-SPWeb “http://win-pfcp2dgt8di/sites/EnjoySharePoint/”
$list = $web.lists[“Testing”]
$listCreatedDateTime = $list.Created
$web.Dispose()
$web = $null
Write-Host $listCreatedDateTimeOnce you run the above PowerShell script, it displays the list creation date as shown in the screenshot below.

This is how to get the list’s created date using PowerShell in SharePoint.
In this tutorial, I explained how to get the SharePoint list name and GUID using PowerShell. We also saw how to get the list creation date using PowerShell in SharePoint.
- Retrieve SharePoint List GUID using Browser.
- Get SharePoint list GUID using PowerShell
- Retrieve SharePoint List Name from GUID using PowerShell
- Get the SharePoint List’s Created Date using PowerShell
You may also like the following tutorials:
- Get All SharePoint Site Collections Using PowerShell
- Get Site Template in SharePoint Using PowerShell
- Get SharePoint Site Members Using PowerShell
- Delete a SharePoint Online Site Using PowerShell

After working for more than 18 years in Microsoft technologies like SharePoint, Microsoft 365, and Power Platform (Power Apps, Power Automate, and Power BI), I thought will share my SharePoint expertise knowledge with the world. Our audiences are from the United States, Canada, the United Kingdom, Australia, New Zealand, etc. For my expertise knowledge and SharePoint tutorials, Microsoft has been awarded a Microsoft SharePoint MVP (12 times). I have also worked in companies like HP, TCS, KPIT, etc.