list-sites
Lists content sites on a Sitecore CM with name, root path, start path, database, hostname, and root item details. Filters infrastructure sites by default; set includeSystemSites to see all.
Instructions
Lists the content sites registered on this CM: name, root path, start (home) path, database, hostname and the root item's ID and template. Sitecore's own infrastructure sites (shell, login, service, ...) are filtered out; pass includeSystemSites to see everything Sitecore has registered. Note that 'website' is reported — on XM/XP it is the content site, and on a SitecoreAI CM it shows up rooted at /sitecore/content alongside the real content sites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSystemSites | No | Include Sitecore's infrastructure sites (shell, login, admin, service, scheduler, ...). Off by default. |