Edit

Share via


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

Default (Default)

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

Identity

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

Applicable: Security & Compliance

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.

Parameter properties

Type:SwitchParameter
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

-Identity

Applicable: Security & Compliance

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.

Parameter properties

Type:PolicyIdParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
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.