October 2010
Intermediate to advanced
1008 pages
46h 16m
English
The following example shows how to get a list of SharePoint lists and libraries on a SharePoint site. To display such a list, a custom function is needed:

The preceding function receives SPWeb as the object and then invokes the appropriate functions from SharePoint API to retrieve lists (only those available on the Quick Launch menu).
To call this function, type the following:
![]()
The Get-SPSite cmdlet lists all site collections (SPSite), pipes the results to Get-SPWeb that lists every site (SPWeb) within ...
Read now
Unlock full access