New-SPOSiteSharingReportJob
建立新的共用報表作業。
Syntax
New-SPOSiteSharingReportJob
[-Site] <SPOSitePipeBind>
[-ReportStorageWebUrl] <String>
[-ReportStorageFolderUrl] <String>
[<CommonParameters>]
Description
此 Cmdlet 目前不在生產環境中,未來可能會移除。 如果您執行目前設計中的此 Cmdlet,您將會收到「網站集合共用報表功能尚未啟用」錯誤。
範例
-----------------------範例 1-----------------------------
$site = Get-SPOSite -Identity https://contoso.sharepoint.com/sites/site1
New-SPOSiteSharingReportJob -Site $site -ReportStorageWebUrl 'https://contoso.sharepoint.com/sites/site2/web1' -ReportStorageFolderUrl '/Documents/folder'
參數
-ReportStorageFolderUrl
將匯出報表的位置。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ReportStorageWebUrl
報告 Web 儲存體 URL。
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Site
指定網站。
Type: | SpoSitePipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
輸出
System.Object