Skip to content

Latest commit

 

History

History
87 lines (59 loc) · 2.62 KB

File metadata and controls

87 lines (59 loc) · 2.62 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spositepages
applicable SharePoint Online
title Get-SPOSitePages
schema 2.0.0
author xuyangzo
ms.author xuyangzou
ms.reviewer

Get-SPOSitePages

SYNOPSIS

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

Applicable: SharePoint Online

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

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Copy-SPOPersonalSitePage.md

Get-SPOPersonalSitePageCopyProgress.md