Export-SPODataAccessGovernanceInsight
This cmdlet downloads the Data Access Governance (DAG) reports to the specified path. The default is the "Downloads" folder.
Syntax
Default (Default)
Export-SPODataAccessGovernanceInsight
-ReportID <Guid>
[-DownloadPath <String>]
[<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.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ReportID
Specifies the ID of the DAG report to be downloaded.
Parameter properties
Type: | System.Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
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.