Export-SPODataAccessGovernanceInsight
This cmdlet downloads the Data Access Governance (DAG) reports to the specified path. The default is the "Downloads" folder.
Syntax
Export-SPODataAccessGovernanceInsight
-ReportID <Guid>
[<CommonParameters>]
Description
This cmdlet exports or downloads the DAG report, specified by the ReportID
, to the path as specified with DownloadPath
. If not specified, the commands downloads the report to the "Downloads" folder. The ReportID
is shown in the output of the Start-SPODataAccessGovernanceInsight command. It can also be fetched from the output of the Get-SPODataAccessGovernanceInsight command.
Examples
Example 1
Export-SPODataAccessGovernanceInsight -ReportID 28f4c550-215a-472b-a123-c11e5fa8804c
The above example downloads the report of the given ID to the current working directory.
Parameters
-DownloadPath
Specifies the path to which the report should be downloaded. The default path is the "Downloads" folder.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReportID
Specifies the ID of the DAG report to be downloaded.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object