Start-DLPEnforcementOnConnectionsInEnvironment
Enforces DLP policies on connections in an environment. This disables connections that are violating DLP policies.
Syntax
Default (Default)
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
Parameter properties
Type: | String |
Default value: | 2021-02-01 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 3 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-EnvironmentName
The ID of the Power Platform environment.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
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: | 2 |
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.