Skip to content

Latest commit

 

History

History
99 lines (72 loc) · 2.29 KB

File metadata and controls

99 lines (72 loc) · 2.29 KB
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

New-SPOSiteSharingReportJob

SYNOPSIS

Creates a new sharing report job.

SYNTAX

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

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: False

-ReportStorageWebUrl

Report 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: False

-Site

Specifies 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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object

NOTES