ערוך

שתף באמצעות


Get-SPOSitePages

This cmdlet allows you to retrieve all SharePoint pages under a specific SharePoint site.

Syntax

Get-SPOSitePages
   -Site <SpoSitePipeBind>
   [<CommonParameters>]

Description

After this cmdlet is executed, the information for each SharePoint page will be displayed with the following properties:

Property Description
Name The name of the SharePoint page.
Title The title of the SharePoint page.
UniqueId The unique ID of the SharePoint page.
CreatedDateTime The creation date and time of the SharePoint page.
LastModifiedDateTime The last modified date and time of the SharePoint page.
CreatedBy The creator of the SharePoint page.

Examples

-----------------------EXAMPLE 1-----------------------------

Get-SPOSitePages -Site 'https://contoso.sharepoint.com/sites/testsite'

Example 1 demonstrates how a SharePoint Administrator can retrieve all the SharePoint pages under the testsite.

Parameters

-Site

Specifies the URL of the SharePoint site from which to fetch the SharePoint pages.

Type:SpoSitePipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online