Upravit

Sdílet prostřednictvím


Get-InformationBarrierPoliciesApplicationStatus

This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.

Use the Get-InformationBarrierPoliciesApplicationStatus cmdlet to view the application status of information barrier policies.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-InformationBarrierPoliciesApplicationStatus
   [-All]
   [<CommonParameters>]
Get-InformationBarrierPoliciesApplicationStatus
   [[-Identity] <PolicyIdParameter>]
   [-All]
   [<CommonParameters>]

Description

For more information, see View status of information barrier policy application.

To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.

Examples

Example 1

Get-InformationBarrierPoliciesApplicationStatus

This example returns the most recent application of information barrier policies by the Start-InformationBarrierPoliciesApplication cmdlet.

Example 2

Get-InformationBarrierPoliciesApplicationStatus -All

This example returns all applications of information barrier policies by the Start-InformationBarrierPoliciesApplication cmdlet.

Parameters

-All

The All switch specifies whether to include all applications of information barrier policies in the results. You don't need to specify a value with this switch.

If you don't use this switch, the command only returns the most recent policy application.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance

-Identity

The Identity parameter specifies the information barrier policy application that you want to view. This value is a GUID that's displayed when you run the Start-InformationBarrierPoliciesApplication cmdlet (for example, a0551cee-db3d-4002-9fa0-94358035fdf2). You can also find the Identity value by running the command Get-InformationBarrierPoliciesApplicationStatus -All.

Type:PolicyIdParameter
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Security & Compliance