共用方式為


Start-DLPEnforcementOnConnectionsInEnvironment

Enforces DLP policies on connections in an environment. This disables connections that are violating DLP policies.

Syntax

Start-DLPEnforcementOnConnectionsInEnvironment
     [-EnvironmentName] <String>
     [[-JobMode] <String>]
     [[-ApiVersion] <String>]
     [<CommonParameters>]

Description

The Start-DLPEnforcementOnConnectionsInEnvironment cmdlet disables connections that are violating DLP policies in an environment. Use Get-Help Start-DLPEnforcementOnConnectionsInEnvironment -Examples for more detail.

Examples

EXAMPLE 1

Start-DLPEnforcementOnConnectionsInEnvironment -EnvironmentName c4a07cd6-cb14-e987-b5a2-a1dd61346963

Enforces DLP policies on connections in the environment with the ID c4a07cd6-cb14-e987-b5a2-a1dd61346963. This disables connections that are violating DLP policies.

Parameters

-ApiVersion

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

Type:String
Position:3
Default value:2021-02-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

The ID of the Power Platform environment.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-JobMode

Optionally provide the job mode.

Type:String
Position:2
Default value:EvaluateAndUpdateConnections
Required:False
Accept pipeline input:False
Accept wildcard characters:False