New-SPOSiteSharingReportJob
Creates a new sharing report job.
Syntax
Default (Default)
New-SPOSiteSharingReportJob
[-Site] <SpoSitePipeBind>
[-ReportStorageWebUrl] <String>
[-ReportStorageFolderUrl] <String>
[<CommonParameters>]
Description
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.
Examples
EXAMPLE 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'
Parameters
-ReportStorageFolderUrl
Applicable: SharePoint Online
Location to where the report will be exported.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ReportStorageWebUrl
Applicable: SharePoint Online
Report web storage URL.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Site
Applicable: SharePoint Online
Specifies the site.
Parameter properties
Type: | Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.