New-SPOSiteSharingReportJob
Creates a new sharing report job.
PowerShell
New-SPOSiteSharingReportJob
[-Site] <SPOSitePipeBind>
[-ReportStorageWebUrl] <String>
[-ReportStorageFolderUrl] <String>
[<CommonParameters>]
This cmdlet is not currently active in Production and may be removed in the future. You will receive the error, "Site collection sharing report feature has not been enabled", if you run this cmdlet which is currently by design.
PowerShell
$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'
Location to where the report will be exported.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Report web storage URL.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Specifies the site.
Type: | SpoSitePipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
System.Object