Get-SPOInformationBarriersPolicyComplianceReport
Gets the status and results of Information Barriers policy compliance reports.
Syntax
Default (Default)
Get-SPOInformationBarriersPolicyComplianceReport
[-ReportID <Guid>]
[<CommonParameters>]
Description
When you run this cmdlet without parameters, it returns the status and metadata of all Information Barriers policy compliance reports.
When you specify -ReportID, the cmdlet returns the metadata and content of that report. The content identifies SharePoint sites, OneDrive accounts, and user-owned SharePoint Embedded containers that are noncompliant with current Information Barriers policies.
Examples
Example 1
Get-SPOInformationBarriersPolicyComplianceReport
This example gets the status and metadata of all Information Barriers policy compliance reports.
Example 2
Get-SPOInformationBarriersPolicyComplianceReport -ReportID beedfc3e-850c-4ca2-9ae0-7eacbe529d77
This example gets the metadata and noncompliant content of the specified report.
Example 3
$report = Get-SPOInformationBarriersPolicyComplianceReport -ReportID beedfc3e-850c-4ca2-9ae0-7eacbe529d77
$report.Content
This example gets a specific report and displays the compliance details for each noncompliant SharePoint site, OneDrive account, or user-owned SharePoint Embedded container.
Parameters
-ReportID
Specifies the unique identifier of a report. If you don't specify this parameter, the cmdlet returns the status and metadata of all reports.
Parameter properties
| Type: | System.Guid |
| 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 |
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.