|
| 1 | +--- |
| 2 | +external help file: sharepointonline.xml |
| 3 | +Module Name: Microsoft.Online.SharePoint.PowerShell |
| 4 | +online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spositepages |
| 5 | +applicable: SharePoint Online |
| 6 | +title: Get-SPOSitePages |
| 7 | +schema: 2.0.0 |
| 8 | +author: xuyangzo |
| 9 | +ms.author: xuyangzou |
| 10 | +ms.reviewer: |
| 11 | +--- |
| 12 | + |
| 13 | +# Get-SPOSitePages |
| 14 | + |
| 15 | +## SYNOPSIS |
| 16 | + |
| 17 | +This cmdlet allows you to retrieve all or fixed amount of SharePoint pages under a specific SharePoint site. |
| 18 | + |
| 19 | +## SYNTAX |
| 20 | + |
| 21 | +```powershell |
| 22 | +Get-SPOSitePages -Site <SpoSitePipeBind> [<CommonParameters>] |
| 23 | +``` |
| 24 | + |
| 25 | +## DESCRIPTION |
| 26 | + |
| 27 | +After this cmdlet is executed, the information for each SharePoint page will be displayed with the following properties: |
| 28 | + |
| 29 | +| Property | Description | |
| 30 | +| :------------------- | :--------------------------------------- | |
| 31 | +| Name | The name of the SharePoint page. | |
| 32 | +| Title | The title of the SharePoint page. | |
| 33 | +| UniqueId | The unique ID of the SharePoint page. | |
| 34 | +| CreatedDateTime | The creation date and time of the SharePoint page. | |
| 35 | +| LastModifiedDateTime | The last modified date and time of the SharePoint page. | |
| 36 | +| CreatedBy | The creator of the SharePoint page. | |
| 37 | + |
| 38 | +## EXAMPLES |
| 39 | + |
| 40 | +### -----------------------EXAMPLE 1----------------------------- |
| 41 | + |
| 42 | +```powershell |
| 43 | +Get-SPOSitePages -Site 'https://contoso.sharepoint.com/sites/testsite' |
| 44 | +``` |
| 45 | + |
| 46 | +Example 1 demonstrates how a SharePoint Administrator can retrieve all the SharePoint pages under the `testsite`. |
| 47 | + |
| 48 | + |
| 49 | +## PARAMETERS |
| 50 | + |
| 51 | +### -Site |
| 52 | + |
| 53 | +Specifies the URL of the SharePoint site from which to fetch the SharePoint pages. |
| 54 | + |
| 55 | +```yaml |
| 56 | +Type: SpoSitePipeBind |
| 57 | +Parameter Sets: (All) |
| 58 | +Aliases: |
| 59 | +Applicable: SharePoint Online |
| 60 | + |
| 61 | +Required: True |
| 62 | +Position: Named |
| 63 | +Default value: None |
| 64 | +Accept pipeline input: False |
| 65 | +Accept wildcard characters: False |
| 66 | +``` |
| 67 | +
|
| 68 | +### CommonParameters |
| 69 | +
|
| 70 | +This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). |
| 71 | + |
| 72 | + |
| 73 | +## RELATED LINKS |
| 74 | + |
| 75 | +[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online) |
| 76 | + |
| 77 | +[Copy-SPOPersonalSitePage.md](./Copy-SPOPersonalSitePage.md) |
| 78 | + |
| 79 | +[Get-SPOPersonalSitePageCopyProgress.md](./Get-SPOPersonalSitePageCopyProgress.md) |
0 commit comments