| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://docs.microsoft.com/powershell/module/sharepoint-online/New-SPOSiteSharingReportJob |
| applicable | SharePoint Online |
| title | New-SPOSiteSharingReportJob |
| schema | 2.0.0 |
| author | salarson |
| ms.author | salarson |
| ms.reviewer |
Creates a new sharing report job.
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.
$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
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseReport web storage URL.
Type: String[]
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the site.
Type: SpoSitePipeBind
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.