Get-SPOSitePages
此 Cmdlet 可讓您擷取特定 SharePoint 網站下的所有 SharePoint 頁面。
語法
Default (預設值)
Get-SPOSitePages
-Site <SpoSitePipeBind>
[<CommonParameters>]
Description
執行此 Cmdlet 之後,每個 SharePoint 頁面的信息都會顯示下列屬性:
| 屬性 | 描述 |
|---|---|
| 名稱 | SharePoint 頁面的名稱。 |
| 標題 | SharePoint 頁面的標題。 |
| UniqueId | SharePoint 頁面的唯一標識符。 |
| CreatedDateTime | SharePoint 頁面的建立日期和時間。 |
| LastModifiedDateTime | 上次修改 SharePoint 頁面的日期和時間。 |
| CreatedBy | SharePoint 頁面的建立者。 |
範例
範例 1
Get-SPOSitePages -Site 'https://contoso.sharepoint.com/sites/testsite'
範例 1 示範 SharePoint 系統管理員如何擷取 下 testsite的所有 SharePoint 頁面。
參數
-Site
適用:SharePoint Online
指定要從中擷取 SharePoint 頁面的 SharePoint 網站 URL。
參數屬性
| 類型: | Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。