Share via


Start-DLPEnforcementOnConnectionsInTenant

Enforces DLP policies on connections in the tenant. This will disable connections that are violating DLP policies.

Syntax

Default (Default)

Start-DLPEnforcementOnConnectionsInTenant
    [[-JobMode] <String>]
    [[-ApiVersion] <String>]
    [<CommonParameters>]

Description

The Start-DLPEnforcementOnConnectionsInTenant cmdlet disables connections that are violating DLP policies for all environments in the tenant. Use Get-Help Start-DLPEnforcementOnConnectionsInTenant -Examples for more detail.

Examples

EXAMPLE 1

Start-DLPEnforcementOnConnectionsInTenant

Enforces DLP policies on connections in the tenant. This will disable connections that are violating DLP policies.

Parameters

-ApiVersion

The api version to call with. Default 2016-11-01

Parameter properties

Type:String
Default value:2021-02-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-JobMode

Optionally provide the job mode.

Parameter properties

Type:String
Default value:EvaluateAndUpdateConnections
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
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.