Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.12 KB

Set-CIPPTransportRule.md

File metadata and controls

28 lines (23 loc) · 1.12 KB

Set-CIPPTransportRule

SYNOPSIS

Sets the state of a transport rule for a specific customer tenant.

DESCRIPTION

The Set-CIPPTransportRule function is used to set the state of a transport rule for a specific customer tenant in the CIPP API.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer tenant for which the transport rule needs to be edited.

-State

Foo Foo
The state to set for the transport rule. Valid values are "Enable" and "Disable".

-Guid

Foo Foo
The GUID of the transport rule to be edited.

EXAMPLE 1

PS > Set-CIPPTransportRule -CustomerTenantID "contoso.onmicrosoft.com" -State "Enable" -Guid "abcdefg"

EXAMPLE 2

PS > Set-CIPPTransportRule -CustomerTenantID "contoso.onmicrosoft.com" -State "Disable" -Guid "hijklmn"