New-SPOSiteSharingReportJob
创建新的共享报表作业。
语法
New-SPOSiteSharingReportJob
[-Site] <SPOSitePipeBind>
[-ReportStorageWebUrl] <String>
[-ReportStorageFolderUrl] <String>
[<CommonParameters>]
说明
此 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